Class ValidationViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.billing.common.exception.ValidationViolationException
- All Implemented Interfaces:
Serializable
Exception thrown when annotation-based validations (e.g.
Valid) are
violated- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.validation.ErrorsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationViolationException
public ValidationViolationException(org.springframework.validation.Errors errors)
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getErrors
public org.springframework.validation.Errors getErrors()
-