public class ExceptionMessageDefinition extends MessageDefinition
| Constructor and Description |
|---|
ExceptionMessageDefinition(int httpErrorCode,
String messageId,
String messageTemplate,
String systemAction,
String userAction)
Constructor to save all of the fixed values of a message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpErrorCode()
Return the HTTP code that describes the nature of the exception.
|
getMessageId, getMessageParams, getMessageTemplate, getSystemAction, getUserAction, setMessageParameterspublic ExceptionMessageDefinition(int httpErrorCode,
String messageId,
String messageTemplate,
String systemAction,
String userAction)
httpErrorCode - the HTTP code that describes the nature of the errormessageId - unique Id for the messagemessageTemplate - text for the messagesystemAction - description of the action taken by the system when the condition happeneduserAction - instructions for resolving the situation, if anyCopyright © 2018–2020 ODPi. All rights reserved.