org.dellroad.stuff.validation
Class SelfValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dellroad.stuff.validation.SelfValidationException
- All Implemented Interfaces:
- Serializable
public class SelfValidationException
- extends Exception
Exception that can be thrown by SelfValidating.checkValid(javax.validation.ConstraintValidatorContext).
Instances will be automatically caught and converted into a constraint violation using the exception's message
if any, otherwise the default message.
- See Also:
SelfValidating,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SelfValidationException
public SelfValidationException()
SelfValidationException
public SelfValidationException(String message)
SelfValidationException
public SelfValidationException(Throwable cause)
SelfValidationException
public SelfValidationException(String message,
Throwable cause)