Constructor and Description |
---|
ValidationError(int code,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Specific code for this error
|
java.lang.String |
getMessage()
Default error message
|
public int getCode()
ErrorCode
public java.lang.String getMessage()
ErrorCode
getMessage
in interface ErrorCode