|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sonicsw.xq.XQException
public abstract class XQException
This is the root class of all SonicXQ API exceptions.
It provides the following information:
getMessage
method.
Field Summary | |
---|---|
static int |
UNSPECIFIED
Indicates an unspecified error code. |
Method Summary | |
---|---|
int |
getErrorID()
Gets the exception's error code. |
java.lang.Throwable |
getLinkedException()
Gets the exception linked to this one. |
java.lang.String |
getLocalizedMessage()
Get the localized error message. |
java.lang.String |
getMessage()
Gets the error message. |
void |
setErrorID(int errorID)
Sets an error code. |
void |
setLinkedException(java.lang.Throwable exception)
Sets a linked exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNSPECIFIED
Method Detail |
---|
public final void setLinkedException(java.lang.Throwable exception)
exception
- The linked exception.public final java.lang.Throwable getLinkedException()
public final void setErrorID(int errorID)
errorID
- The error code.public final int getErrorID()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |