|
|||||||||||
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
public abstract class ITIMException
An Exception capable of accepting values for replaceable tokens, which may be used in MessageFormater to format "flexible" error desciptions
Method Summary | |
---|---|
java.lang.String |
getLocalizedMessage()
Returns error message for the default locale. |
java.lang.String |
getMessage()
Returns error message for Locale.US. |
java.lang.String |
getMessage(java.util.Locale locale)
Returns a message localized for the given Locale. |
java.lang.String |
getMessageId()
Returns the message identifier for this exeception. |
java.lang.Throwable |
getThrowable()
Deprecated. |
java.lang.Object[] |
getTokens()
Gets 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 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). |
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, getCause, getStackTrace, initCause, setStackTrace, 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 getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Locale.US
public java.lang.String getMessage(java.util.Locale locale)
locale
- a Locale object representing the language into which to
translate the ITIMException message.
public java.lang.Throwable getThrowable()
public java.lang.String toXML()
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
public static java.lang.String normalize(java.lang.String s, boolean canonical)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |