|
|||||||||||
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 | +--com.ibm.mobileservices.isync.ISyncException
This class serves as the general class of exceptions produced by the ISync synchronization engine.
Constructor Summary | |
ISyncException()
Simple constructor. |
|
ISyncException(int code)
Constructor adding code value. |
|
ISyncException(int code,
java.lang.String reason)
Constructor adding code value and reason |
|
ISyncException(java.lang.String reason)
Constructor adding reason. |
|
ISyncException(java.lang.Throwable cause,
int code)
Constructor adding Throwable object and code. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the original cause for the exception or null if its not available. |
int |
getCode()
Return the error code of this exception. |
Methods inherited from class java.lang.Throwable |
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ISyncException()
public ISyncException(int code)
code
- an int specifying the exception codepublic ISyncException(java.lang.String reason)
reason
- a String specifying the exception messagepublic ISyncException(int code, java.lang.String reason)
code
- an int specifying the exception codereason
- a String specifying the exception messagepublic ISyncException(java.lang.Throwable cause, int code)
cause
- a Throwable object specifying the causecode
- an int specifying the exception codeMethod Detail |
public int getCode()
public java.lang.Throwable getCause()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |