public interface MXExceptionAdapter<T extends java.lang.Exception>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage(T exception,
java.lang.String langCode)
Retrieves the localized/translated exception message for the specified exception and language code.
|
MXException |
toMXException(T exception)
Converts the specified exception into an MXException.
|
java.lang.String getMessage(T exception, java.lang.String langCode)
exception
- The exception for which to retrieve the message.langCode
- The Maximo language code for which to retrieve the message.MXException toMXException(T exception)
exception
- The exception to be converted.