public abstract class OdiCheckedException
extends java.lang.Exception
abstract to force the programmer to extend the class.
OdiCheckedExceptions are used to report a usually
recoverable condition, while OdiUncheckedExceptions are used
to report a usually unrecoverable condition.
OdiCheckedException 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.
|
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 java.lang.String getErrorID()