|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
se.kmr.scam.client.chain.CommandChainException
Represents an exception in the CommandChain process.
| Field Summary | |
static int |
CHAIN
Error code for errors that occures executing the chain |
protected int |
iCode
Current error code |
static int |
INTERNAL
Error code for errors occured during initializing the objects |
static int |
PARSE
Error code for a errors that occures during the process of parsing the command chain definition |
static int |
SERVER
Error code for errors that occures on the server |
static int |
UNKNOWN
Error code for a unknown error |
| Constructor Summary | |
CommandChainException()
Constructor for a unknown CommandChainException object |
|
CommandChainException(int code)
Constructor for the CommandChainException object |
|
CommandChainException(String message,
int code)
Constructor for the CommandChainException object |
|
CommandChainException(Throwable e,
int code)
Constructor for wrapping a Throwable |
|
| Method Summary | |
int |
getErrorCode()
Gets the errorCode attribute of the CommandChainException object |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int UNKNOWN
public static final int PARSE
public static final int INTERNAL
public static final int SERVER
public static final int CHAIN
protected int iCode
| Constructor Detail |
public CommandChainException()
public CommandChainException(int code)
code - The error code
public CommandChainException(String message,
int code)
message - A description of the exceptioncode - The error code
public CommandChainException(Throwable e,
int code)
e - wraps this exceptioncode - The error code| Method Detail |
public int getErrorCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||