public class ValidationException extends RecoverableException
| Constructor and Description |
|---|
ValidationException(String msg)
Constructor from message.
|
ValidationException(String msg,
Object obj)
Constructor from message and validation object.
|
ValidationException(String msg,
Object obj,
IUnmarshallingContext ctx)
Constructor from message, validation object, and unmarshalling context.
|
ValidationException(String msg,
Throwable root)
Constructor from message and wrapped exception.
|
ValidationException(String msg,
Throwable root,
Object obj)
Constructor from message, wrapped exception, and validation object.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
addDescription(String msg,
Object obj)
Add description information for a validation object to message.
|
static String |
describe(Object obj)
Get description information for a validation object.
|
String |
getMessage()
Get exception description.
|
getCause, getRootCause, printStackTrace, printStackTrace, printStackTraceaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic ValidationException(String msg)
msg - message describing the exception conditionpublic ValidationException(String msg, Throwable root)
msg - message describing the exception conditionroot - exception which caused this exceptionpublic ValidationException(String msg, Object obj)
msg - message describing the exception conditionobj - source object for validation errorpublic ValidationException(String msg, Throwable root, Object obj)
msg - message describing the exception conditionroot - exception which caused this exceptionobj - source object for validation errorpublic ValidationException(String msg, Object obj, IUnmarshallingContext ctx)
msg - message describing the exception conditionobj - source object for validation errorctx - context used for unmarshallingpublic static String describe(Object obj)
Object.toString() method call.obj - source object for validation errorpublic static String addDescription(String msg, Object obj)
describe(java.lang.Object) call to the supplied message,
with some appropriate formatting.msg - base message textobj - source object for validation errorpublic String getMessage()
getMessage in class ThrowableCopyright © 2005-2014 jibx.org. All Rights Reserved.