public class VerificationException extends Exception implements Dumpable
| Constructor and Description |
|---|
VerificationException(Object metaData,
String errorKey,
String defaultErrorMessage,
Object... details)
Convenience constructor
|
VerificationException(Throwable cause,
Object metaData,
String errorKey,
String defaultErrorMessage,
Object... details)
Convenience constructor
|
VerificationException(Throwable cause,
VerificationFailure failure)
Convenience constructor
|
VerificationException(Throwable cause,
VerificationFailureSet verificationSet)
Full constructor
|
VerificationException(VerificationFailure failure)
Convenience constructor
|
VerificationException(VerificationFailureSet verificationSet)
Convenience constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
dump(Dumper dumper)
Dump out the contents using the given indentation.
|
VerificationFailureSet |
getVerificationFailureSet()
VerificationFailureSet associated with this exception
|
VerificationRuntimeException |
toRuntimeException()
Convert this VerificationException into a VerificationRuntimeException
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic VerificationException(VerificationFailureSet verificationSet)
public VerificationException(Throwable cause, VerificationFailureSet verificationSet)
cause - Throwable that has triggered this exceptionverificationSet - Verification failures associated with the exceptionpublic VerificationException(Throwable cause, VerificationFailure failure)
public VerificationException(VerificationFailure failure)
public VerificationException(Object metaData, String errorKey, String defaultErrorMessage, Object... details)
public VerificationFailureSet getVerificationFailureSet()
public void dump(Dumper dumper)
Dumpablepublic VerificationRuntimeException toRuntimeException()
Copyright © 2015. All Rights Reserved.