public class ValidationException extends DataIntegrityViolationException
Exception thrown when a validation error occurs
| Modifiers | Name | Description |
|---|---|---|
static Class<? extends RuntimeException> |
VALIDATION_EXCEPTION_TYPE |
| Constructor and description |
|---|
ValidationException(String msg, Errors errors) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static String |
formatErrors(Errors errors, String msg) |
|
public Errors |
getErrors()
|
|
public String |
getMessage() |
|
public static RuntimeException |
newInstance(String message, Errors errors) |
| Methods inherited from class | Name |
|---|---|
class DataIntegrityViolationException |
addSuppressed, contains, equals, fillInStackTrace, getCause, getClass, getLocalizedMessage, getMessage, getMostSpecificCause, getRootCause, getStackTrace, getSuppressed, hashCode, initCause, notify, notifyAll, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString, wait, wait, wait |