| Constructor and Description |
|---|
VerificationFailure(Object source,
String errorKey,
String defaultErrorMessage,
Object... details)
Constructor
argument metaData
Meta definition of item with an error
argument errorKey
Key for the error message, will have fully-qualified meta name
prepended to it
argument defaultErrorMessage
Error message to display if the error resource is not defined
argument details
Error parameters
|
VerificationFailure(Object source,
String errorKey,
String errorCode,
String defaultErrorMessage,
Object... details) |
VerificationFailure(Throwable cause,
Object source,
String errorKey,
String defaultErrorMessage,
Object... details)
Constructor
argument metaData
Meta definition of item with an error
argument errorKey
Key for the error message, will have fully-qualified meta name
prepended to it
argument defaultErrorMessage
Error message to display if the error resource is not defined
argument details
Error parameters
|
VerificationFailure(Throwable cause,
Object source,
String errorKey,
String errorCode,
String defaultErrorMessage,
Object... details) |
| Modifier and Type | Method and Description |
|---|---|
VerificationFailure |
clone() |
void |
dump(Dumper dumper)
Dump out the contents using the given indentation.
|
boolean |
equals(Object obj) |
String |
getErrorCode() |
DottedPath |
getErrorKey()
Madz error key for verification failure
|
String |
getErrorMessage(String overrideErrorMessage) |
Object |
getSource()
Meta data of object/field that is in error
|
int |
hashCode() |
String |
toString() |
void |
writeJson(JsonWriter writer) |
public VerificationFailure(Throwable cause, Object source, String errorKey, String errorCode, String defaultErrorMessage, Object... details)
public VerificationFailure(Throwable cause, Object source, String errorKey, String defaultErrorMessage, Object... details)
public VerificationFailure(Object source, String errorKey, String defaultErrorMessage, Object... details)
public void writeJson(JsonWriter writer) throws IOException
IOExceptionpublic VerificationFailure clone()
public Object getSource()
public DottedPath getErrorKey()
public String getErrorCode()
Copyright © 2015. All Rights Reserved.