public class ErrorMessage extends AbstractErrorMessage
Message
that is already localized.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
TYPE_INFORMATION, TYPE_TECHNICAL_ERROR, TYPE_USER_ERROR, TYPE_VALIDATION_FAILURE, TYPE_WARNING
Modifier | Constructor and Description |
---|---|
protected |
ErrorMessage()
The constructor for de-serialization in GWT.
|
|
ErrorMessage(NlsThrowable error)
The constructor.
|
|
ErrorMessage(String code,
Object source,
NlsMessage message,
UUID uuid,
String details,
boolean technical)
The constructor.
|
|
ErrorMessage(String code,
Object source,
String message,
UUID uuid,
String details,
boolean technical)
The constructor.
|
getType
getCode, getDetails, getMessage, getMessage, getSource, getUuid, toString
private static final long serialVersionUID
protected ErrorMessage()
public ErrorMessage(String code, Object source, String message, UUID uuid, String details, boolean technical)
code
- - see AbstractMessage.getCode()
.source
- - see AbstractMessage.getSource()
.message
- - see AbstractMessage.getMessage()
.uuid
- - see AbstractMessage.getUuid()
.details
- - see AbstractMessage.getDetails()
.technical
- - true
in case of technical error
with
Message.TYPE_TECHNICAL_ERROR
, false
otherwise (business error).public ErrorMessage(String code, Object source, NlsMessage message, UUID uuid, String details, boolean technical)
code
- - see AbstractMessage.getCode()
.source
- - see AbstractMessage.getSource()
.message
- - see AbstractMessage.getMessage()
.uuid
- - see AbstractMessage.getUuid()
.details
- - see AbstractMessage.getDetails()
.technical
- - true
in case of technical error
with
Message.TYPE_TECHNICAL_ERROR
, false
otherwise (business error).public ErrorMessage(NlsThrowable error)
error
- is the NlsThrowable
to convert as error message.Copyright © 2001–2016 mmm-Team. All rights reserved.