|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--advancedrelay.laygo.ProtocolStackException
General LayGO exception class for protocol stack errors.
| Constructor Summary | |
ProtocolStackException()
Simple constructor |
|
ProtocolStackException(int result)
Constructs an exception from a Laygo result code. |
|
ProtocolStackException(int result,
java.lang.String msg)
Constructs an exception from a Laygo return code and additional string data. |
|
ProtocolStackException(java.lang.String msg)
Simple string constructor |
|
| Method Summary | |
int |
getResult()
Returns the result code which caused the exception. |
| 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ProtocolStackException()
public ProtocolStackException(int result)
result - The Laygo result code returned by the protocol stack.
public ProtocolStackException(int result,
java.lang.String msg)
result - The Laygo result code returned by the protocol stack.msg - Additional string data giving details about the cause
of the exception.public ProtocolStackException(java.lang.String msg)
| Method Detail |
public int getResult()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||