public abstract class AbstractValidationFailure extends AbstractMessage implements ValidationFailure
ValidationFailure
.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 |
AbstractValidationFailure()
The constructor for de-serialization in GWT.
|
|
AbstractValidationFailure(String code,
Object source,
NlsMessage message,
UUID uuid,
String details)
The constructor.
|
|
AbstractValidationFailure(String code,
Object source,
String message,
UUID uuid,
String details)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
This method gets the type of this
Message . |
getCode, getDetails, getMessage, getMessage, getSource, getUuid, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCode, getMessage, getMessage, getSource
getDetails, getUuid
private static final long serialVersionUID
protected AbstractValidationFailure()
public AbstractValidationFailure(String code, Object source, NlsMessage message, UUID uuid, String details)
public String getType()
Message
Message
. This should be one of the following options:
ValidationFailure
.error
caused by the
end-user (e.g. by providing invalid data). Unlike Message.TYPE_VALIDATION_FAILURE
this is an actual error that has
been detected after a successful validation.error
related to a
technical problem (e.g. programming failure such as NullPointerException
or operational error like
ConnectException
).Copyright © 2001–2016 mmm-Team. All rights reserved.