|
|||||||||
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.exception.ITIMException
This class is capable of accepting values for replaceable tokens, which may be used in MessageFormater to format "flexible" error desciptions
Method Summary | |
java.lang.String |
getMessage()
Method will return error message for the default locale. |
java.lang.String |
getMessage(java.util.Locale locale)
|
java.lang.String |
getMessageId()
This method returns the message identifier for this exeception. |
java.lang.Throwable |
getThrowable()
Accessor method for the nested throwable contained in this exception. |
java.lang.Object[] |
getTokens()
This method will get the Object[] of tokens which are used in the localized message. |
static java.lang.String |
normalize(java.lang.String s,
boolean canonical)
Normalizes the given string. |
void |
printStackTrace()
Prints this Throwable and its backtrace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this Throwable and its backtrace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this Throwable and its backtrace to the specified print writer. |
java.lang.String |
toXML()
Returns a XML representation of this exception message and parameters that can be localized in the ITIM UI. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getMessageId()
public java.lang.Object[] getTokens()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getMessage(java.util.Locale locale)
public java.lang.Throwable getThrowable()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- PrintStream to use for outputpublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- PrintWriter to use for outputpublic java.lang.String toXML()
public static java.lang.String normalize(java.lang.String s, boolean canonical)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |