public class ValidationError extends Object
| Constructor and Description |
|---|
ValidationError(String attribute,
ValidationErrorCode code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object e) |
String |
getAttribute()
Returns the attribute that this error references, e.g.
|
ValidationErrorCode |
getCode()
Returns the
ValidationErrorCode for the specific validation error. |
String |
getMessage()
Returns the message associated with the validation error.
|
public ValidationError(String attribute, ValidationErrorCode code, String message)
public String getAttribute()
public ValidationErrorCode getCode()
ValidationErrorCode for the specific validation error.ValidationErrorCode.public String getMessage()
getCode() for comparisons.Copyright © 2013–2018. All rights reserved.