|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
its.backbone.frame.ItsException
Base class for other ITS exceptions; also used as a general exception. Can take store a numerical value as well as a detail string. This affects the printed representation:
| Field Summary | |
protected int |
value
|
protected boolean |
valueSet
|
| Constructor Summary | |
ItsException()
Constructs an ItsException with no value or message |
|
ItsException(int value)
Constructs an ItsException with a numeric value |
|
ItsException(java.lang.String message)
Constructs an ItsException with a message |
|
ItsException(java.lang.String message,
int value)
Constructs an ItsException with a numeric value and a message |
|
| Method Summary | |
int |
getValue()
Returns the numeric value |
java.lang.String |
toString()
Returns a printable string in form "Exception-name: Message: Value" |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int value
protected boolean valueSet
| Constructor Detail |
public ItsException()
public ItsException(int value)
public ItsException(java.lang.String message)
public ItsException(java.lang.String message,
int value)
| Method Detail |
public java.lang.String toString()
"Exception-name: Message: Value"
public int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||