|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.itim.exception.ITIMException
com.ibm.itim.remoteservices.exception.RemoteServicesException
public class RemoteServicesException
Standard exception for remote services. Base class for all remote services exception.
Constructor Summary | |
---|---|
RemoteServicesException(java.lang.String error)
Constructor that accepts an error string. |
|
RemoteServicesException(java.lang.String msgId,
java.util.Collection<java.lang.String> tokensColl,
java.lang.Throwable orginalException)
Constructor that accepts a message ID, array of tokens and an original exception. |
|
RemoteServicesException(java.lang.String msgId,
java.lang.Object[] tokens)
Constructor that accepts a message ID & array of tokens. |
|
RemoteServicesException(java.lang.String msgId,
java.lang.Object[] tokens,
java.lang.Throwable orginalException)
Constructor that accepts a message ID, array of tokens and an original exception. |
|
RemoteServicesException(java.lang.String error,
java.lang.Throwable orginalException)
Constructor that accepts an error string / message ID and an original exception. |
|
RemoteServicesException(java.lang.Throwable genericError)
Constructors a remote services exception from a generic exception. |
Method Summary | |
---|---|
java.util.Collection<java.lang.String> |
getErrorMessageArgs()
Get the additional args to the error message. |
java.lang.String |
getXMLFormattedMessage()
Gets the xml formatted error message. |
Methods inherited from class com.ibm.itim.exception.ITIMException |
---|
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXML |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteServicesException(java.lang.String error)
error
- Error string.public RemoteServicesException(java.lang.String msgId, java.lang.Object[] tokens)
msgId
- message identifier used to lookup a corresponding error
message from properties file.tokens
- values for replacable tokens used in the error message.public RemoteServicesException(java.lang.String error, java.lang.Throwable orginalException)
error
- Error string / message ID.orginalException
- originating exception or error.public RemoteServicesException(java.lang.String msgId, java.lang.Object[] tokens, java.lang.Throwable orginalException)
msgId
- message identifier used to lookup a corresponding error
message from properties file.tokens
- values for replacable tokens used in the error message.orginalException
- originating exception or error.public RemoteServicesException(java.lang.String msgId, java.util.Collection<java.lang.String> tokensColl, java.lang.Throwable orginalException)
msgId
- message identifier used to lookup a corresponding error
message from properties file.tokensColl
- Collection of token values for replacable tokens used in the error message.
Collection objects must support toString() method.orginalException
- originating exception or error.public RemoteServicesException(java.lang.Throwable genericError)
genericError
- originating generic exception.Method Detail |
---|
public java.util.Collection<java.lang.String> getErrorMessageArgs()
public java.lang.String getXMLFormattedMessage()
To get the localized message corresponding to the message Id and tokens, call the toString method.
DTD definition of returned xml is:
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |