|
||||||||||
| 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
its.backbone.frame.BadMagicException
Thrown when constructing or reading an ITS frame if the magic number in the frame header is incorrect. The correct magic number is 0xBEADCAFE, also known as its.backbone.frame.ItsFrame.MAGIC_NUMBER.
| Field Summary |
| Fields inherited from class its.backbone.frame.ItsException |
valueSet |
| Constructor Summary | |
BadMagicException(int value)
Constructs a BadMagicException |
|
| Method Summary | |
int |
getValue()
Returns the bad type value |
java.lang.String |
toString()
Returns a printable string |
| 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 |
| Constructor Detail |
public BadMagicException(int value)
value - the value received| Method Detail |
public java.lang.String toString()
toString in class ItsExceptionpublic int getValue()
getValue in class ItsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||