Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.cayenne.CayenneRuntimeException
org.apache.cayenne.validation.ValidationException
- All Implemented Interfaces:
Serializable
An exception thrown on unsuccessful validation.
- Since:
- 1.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException(String messageFormat, Object... messageArgs) ValidationException(String messageFormat, ValidationResult result, Object... messageArgs) ValidationException(ValidationResult result) -
Method Summary
Methods inherited from class CayenneRuntimeException
getExceptionLabel, getMessage, getUnlabeledMessageModifier and TypeMethodDescriptionstatic StringReturns message that includes Cayenne version label and the actual exception message.Returns exception message without Cayenne version label.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ValidationException
-
ValidationException
-
ValidationException
-
-
Method Details
-
getValidationResult
-
toString
-