public final class ConstraintViolatedErrorMessageTypeV1_0 extends ConstraintViolatedErrorMessageType
| Zone | Format | Length | Description |
|---|---|---|---|
| ERRORCODE | INTEGER | 8 | The ERRORCODE identifying which constraint has been violated. |
| ERRORMESSAGE | STRING | The error message explaining the detail of the constraint violation that occurred. |
MESSAGETYPEID| Modifier and Type | Method and Description |
|---|---|
ConstraintViolatedErrorMessage |
message(long errorcode,
java.lang.String message)
Factory method for getting a Message of this type holding the given violated-constraint data
|
public ConstraintViolatedErrorMessage message(long errorcode, java.lang.String message)
ConstraintViolatedErrorMessageTypemessage in class ConstraintViolatedErrorMessageTypeerrorcode - The SIRA_PRISE identification of the constraint that was found violatedmessage - The (formatted) error message displayed by the server