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