|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jSyncManager.API.Transport.TransportException
An exception class for dealing with errors while initializing the transport class.
| Field Summary | |
static byte |
TRANSPORT_EXCEPTION_OCCURRED
A constant to denote that this exception was generated when an exception occurred. |
static byte |
TRANSPORT_EXCEPTION_UNDEFINED
A constant used to denote that this exception was generated for an undefined reason. |
static byte |
TRANSPORT_NOT_ENOUGH_INFO
A constant to denote that this exception was generated when the initializer failed due to insufficient transport configuration. |
static byte |
TRANSPORT_NOT_INITIALIZED
A constant to denote that this exception was generated because an I/O operation on the transport was requested before it was initialized. |
| Fields inherited from class java.lang.Exception |
|
| Constructor Summary | |
TransportException(byte reasonCode)
Constructor to construct a TransportInitException that was caused due to insufficient config information. |
|
TransportException(java.lang.Throwable e)
Constructor to construct a TransportInitException that was caused due to an exception. |
|
TransportException(java.lang.Throwable e,
byte reasonCode)
Constructor to construct a TransportInitException that was caused due to an exception, with a developer-specified reason code. |
|
| Method Summary | |
java.lang.Throwable |
getException()
Returns the exception that caused this exception to be generated. |
byte |
getReasonCode()
Returns the reason code for why this exception was generated. |
java.lang.String |
toString()
Converts this transport exception to a human-readable 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 |
| Field Detail |
public static final byte TRANSPORT_EXCEPTION_UNDEFINED
public static final byte TRANSPORT_EXCEPTION_OCCURRED
public static final byte TRANSPORT_NOT_ENOUGH_INFO
public static final byte TRANSPORT_NOT_INITIALIZED
| Constructor Detail |
public TransportException(byte reasonCode)
reasonCode - the reason code representing why this exception was thrown.public TransportException(java.lang.Throwable e)
e - the Exception that caused this exception to be thrown.
public TransportException(java.lang.Throwable e,
byte reasonCode)
e - the Exception that caused this exception to be thrown.reasonCode - the reason code representing why this exception was thrown.| Method Detail |
public byte getReasonCode()
public java.lang.Throwable getException()
public java.lang.String toString()
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||