public class ValidationException extends GrailsException
Thrown when validation fails during a .save().
Modifiers | Name | Description |
---|---|---|
private org.springframework.validation.Errors |
errors |
|
private java.lang.String |
fullMessage |
|
private static long |
serialVersionUID |
Fields inherited from class | Fields |
---|---|
class GrailsException |
serialVersionUID |
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() |