public class ValidationException extends GrailsException
Thrown when validation fails during a .save().
Constructor and description |
---|
ValidationException
(java.lang.String msg, org.springframework.validation.Errors e) |
Type Params | Return Type | Name and description |
---|---|---|
|
public static java.lang.String |
formatErrors(org.springframework.validation.Errors errors) |
|
public static java.lang.String |
formatErrors(org.springframework.validation.Errors errors, java.lang.String msg) |
|
public org.springframework.validation.Errors |
getErrors() |
|
public java.lang.String |
getMessage() |