public class ValidationError extends Object
| Constructor and Description |
|---|
ValidationError(String message)
creates instance of ValidationError
|
ValidationError(String key,
String message)
creates instance of ValidationError
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getKey()
Gets error key
|
String |
getMessage()
Gets error message
|
int |
hashCode() |
public ValidationError(String key, String message)
key - the error keymessage - the error messagepublic ValidationError(String message)
message - the error messageCopyright © 2014 ThoughtWorks, Inc. Go Version: 16.2.1-175