be.SIRAPRISE.messages
Class NonSiraPriseErrorMessageTypeV1_1
java.lang.Object
be.SIRAPRISE.messages.ServerMessageType
be.SIRAPRISE.messages.NonSiraPriseErrorMessageType
be.SIRAPRISE.messages.NonSiraPriseErrorMessageTypeV1_1
public final class NonSiraPriseErrorMessageTypeV1_1
- extends NonSiraPriseErrorMessageType
NonSiraPriseErrorMessageTypeV1_1 is V1_1 of the 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. |
| FATALINDICATOR |
INTEGER |
1 |
Nonzero if the server took the initiative to roll back and end its part of the transaction. Zero if the transaction/run-unit is still active on the server. |
- Since:
- SIRA_PRISE 1.4
- Author:
- Erwin Smout
|
Method Summary |
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
message
public NonSiraPriseErrorMessage message(java.lang.String exceptionClassName,
java.lang.String exceptionMessage,
boolean fatal)
- Description copied from class:
NonSiraPriseErrorMessageType
- Factory method for getting a message of this version of the type holding the given java exception data
- Specified by:
message in class NonSiraPriseErrorMessageType
- Parameters:
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
- Returns:
- A NonSiraPriseErrorMessage of the appropriate version reflecting the given exception class name and exception message