gecco.server.core
Class ActionReturnError

java.lang.Object
  |
  +--gecco.server.core.ActionReturn
        |
        +--gecco.server.core.ActionReturnError

public class ActionReturnError
extends ActionReturn

An instance of this class should be returned from action handlers to indicate that the action was aborted for some reason.

Author:
Henrik Bäärnhielm, Karl Hasselström, Henrik Hägerström

Fields inherited from class gecco.server.core.ActionReturn
unitMessage
 
Constructor Summary
ActionReturnError()
          Constructor for the ActionReturnError object
ActionReturnError(String unitMessage)
          Constructor for the ActionReturnError object
 
Methods inherited from class gecco.server.core.ActionReturn
getUnitMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionReturnError

public ActionReturnError()
Constructor for the ActionReturnError object

ActionReturnError

public ActionReturnError(String unitMessage)
Constructor for the ActionReturnError object
Parameters:
unitMessage - Return message from action handler