public final class NonSiraPriseErrorMessageTypeV1_0 extends NonSiraPriseErrorMessageType
This message has the following fields :
Zone | Format | Length | Description |
---|---|---|---|
ERRORTYPE | STRING | The name of the java Exception class that was encountered. | |
ERRORMESSAGE | STRING | The result of the Java getMessage() method invoked on the Java exception object. |
MESSAGETYPEID
Modifier and Type | Method and Description |
---|---|
NonSiraPriseErrorMessage |
message(java.lang.String exceptionClassName,
java.lang.String exceptionMessage,
boolean fatal)
Factory method for getting a message of this version of the type holding the given java exception data
|
message
public NonSiraPriseErrorMessage message(java.lang.String exceptionClassName, java.lang.String exceptionMessage, boolean fatal)
NonSiraPriseErrorMessageType
message
in class NonSiraPriseErrorMessageType
exceptionClassName
- The class name of the thrown non-sira-prise exception that caused this message to (have to be) sentexceptionMessage
- The exception message contained in the thrown exception objectfatal
- Flag indicating whether the error was 'fatal', i.e. whether the server has aborted its side of the transaction as a consequence of the error