|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.data.validation.ValidationError
public class ValidationError
A form validation error.
Constructor Summary | |
---|---|
ValidationError(java.lang.String key,
java.lang.String message)
Constructs a new ValidationError . |
|
ValidationError(java.lang.String key,
java.lang.String message,
java.util.List<java.lang.Object> arguments)
Constructs a new ValidationError . |
Method Summary | |
---|---|
java.util.List<java.lang.Object> |
arguments()
Returns the error arguments. |
java.lang.String |
key()
Returns the error key. |
java.lang.String |
message()
Returns the error message. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidationError(java.lang.String key, java.lang.String message)
ValidationError
.
key
- the error keymessage
- the error messagepublic ValidationError(java.lang.String key, java.lang.String message, java.util.List<java.lang.Object> arguments)
ValidationError
.
key
- the error keymessage
- the error messagearguments
- the error message argumentsMethod Detail |
---|
public java.lang.String key()
public java.lang.String message()
public java.util.List<java.lang.Object> arguments()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |