be.SIRAPRISE.messages
Class SiraPriseErrorMessageTypeV1_1
java.lang.Object
be.SIRAPRISE.messages.ServerMessageType
be.SIRAPRISE.messages.SiraPriseErrorMessageType
be.SIRAPRISE.messages.SiraPriseErrorMessageTypeV1_1
public final class SiraPriseErrorMessageTypeV1_1
- extends SiraPriseErrorMessageType
SiraPriseErrorMessageTypeV1_1 is V1_1 of the SiraPriseErrorMessageType.
This message has the following fields :
| one |
Format |
Length |
Description |
| ERRORNUMBER |
INTEGER |
8 |
The number identifying the type of SIRA_PRISE runtime error. |
| ERRORMESSAGE |
STRING |
|
The error message explaining the error. |
| FATALINDICATOR |
INT |
1 |
Nonzero if the server autonomously decided to abort (its side of) the (main) transaction as a consequence of the error. Zero if the main transaction is still active. |
- Since:
- SIRA_PRISE 1.1
- Author:
- Erwin Smout
|
Method Summary |
SiraPriseErrorMessage |
message(long errorNumber,
java.lang.String message,
boolean fatal)
Factory method for producing messages of this version of the message type, holding the given SIRA_PRISE runtime error description |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
message
public SiraPriseErrorMessage message(long errorNumber,
java.lang.String message,
boolean fatal)
- Description copied from class:
SiraPriseErrorMessageType
- Factory method for producing messages of this version of the message type, holding the given SIRA_PRISE runtime error description
- Specified by:
message in class SiraPriseErrorMessageType
- Parameters:
errorNumber - The numeric ID of the runtime exception that occurredmessage - The (formatted) error message as displayed to the client by SIRA_PRISEfatal - Indicates whether the exception was 'fatal', i.e. whether the server aborted its transaction as a consequence of the error
- Returns:
- A SiraPriseErrorMessage of the appropriate version reflecting the given errorNumber and error message