|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.ibm.itim.remoteservices.exception.RemoteServicesException
Standard exception for remote services. Base class for all remote services exception.
Field Summary | |
static java.lang.String |
ID_TAG
Attribute name for the key that the message can be looked up by in a resource bundle |
static java.lang.String |
MESSAGE_TAG
The tag name of the root of the xml document |
static java.lang.String |
TOKEN_ID_TAG
Attribute name for the value of the token |
static java.lang.String |
TOKEN_TAG
The tag name for a message token. |
Constructor Summary | |
RemoteServicesException(java.lang.String error)
Constructor that accepts an error string. |
|
RemoteServicesException(java.lang.String error,
java.lang.Throwable orginalException)
Constructor that accepts an error string and an original exception. |
|
RemoteServicesException(java.lang.Throwable genericError)
Constructors a remote services exception from a generic exception. |
Method Summary | |
void |
addErrorMessageArg(java.lang.String arg)
Add an additional args to the error message. |
java.util.Collection |
getErrorMessageArgs()
Get the additional args to the error message. |
java.lang.String |
getXMLFormattedMessage()
Gets an error message xml formatted as:
|
void |
printStackTrace()
Prints out the stack trace, including the stack trace of the original exception (if there was a separate one). |
void |
printStackTrace(java.io.PrintStream ps)
Prints out the stack trace, including the stack trace of the original exception (if there was a separate one). |
void |
printStackTrace(java.io.PrintWriter pw)
Prints out the stack trace, including the stack trace of the original exception (if there was a separate one). |
void |
setErrorMessageArgs(java.util.Collection args)
Set the additional args to the error message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String MESSAGE_TAG
public static final java.lang.String TOKEN_TAG
public static final java.lang.String ID_TAG
public static final java.lang.String TOKEN_ID_TAG
Constructor Detail |
public RemoteServicesException(java.lang.String error)
error
- Error string.public RemoteServicesException(java.lang.String error, java.lang.Throwable orginalException)
error
- Error string.public RemoteServicesException(java.lang.Throwable genericError)
error
- Error string.Method Detail |
public void setErrorMessageArgs(java.util.Collection args)
public void addErrorMessageArg(java.lang.String arg)
public java.util.Collection getErrorMessageArgs()
public java.lang.String getXMLFormattedMessage()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |