public abstract class OdiUncheckedException
extends java.lang.RuntimeException
abstract to force the programmer to extend the class.
OdiUncheckedExceptions are used to report a usually
unrecoverable condition, while OdiCheckedExceptions are
used to report a usually recoverable condition.
OdiUncheckedException provides I18N support to the
exception messages using JDK's ResourceBundle.
Note: this class is not intended to be sub-classed by ODI SDK clients.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorID()
Gets this exception's error ID.
|
MessageHandle |
getErrorMsgHandle()
Gets the error message handle.
|
java.lang.String |
getLocalizedMessage()
Gets this exception's error message for the default locale.
|
java.lang.String |
getLocalizedMessage(java.util.Locale pLocale)
Gets this exception's error message for the given locale.
|
java.lang.String |
getMessage() |
public java.lang.String getLocalizedMessage(java.util.Locale pLocale)
getLocalizedMessage(Locale) then the message
will be returned in the locale provided, otherwise it will be returned in the
default locale.pLocale - locale in which to return error message, or null
if undefined (default locale will then be used)public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.ThrowablegetLocalizedMessage(Locale)public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic MessageHandle getErrorMsgHandle()
public java.lang.String getErrorID()