Invalid value exception can be thrown by
com.itmill.toolkit.data.Validator
when a
given value is not valid.
3.0
Inheritance Path. java.lang.Object-> java.lang.Throwable-> java.lang.Exception-> java.lang.RuntimeException-> com.itmill.toolkit.data.Validator.InvalidValueException
Parameters
message
The detail message of the problem.
Constructs a new
InvalidValueException
with the
specified detail message.
Parameters
message
The detail message of the problem.
causes
Array of validatables whos invalidities are possiblity causing the invalidity.
Constructs a new
InvalidValueException
with a set
of causing validation exceptions. The
error message contains first the given message and then a list
of validation errors in the given validatables.
Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.
Parameters
the level of error as an integer.
Gets the errors level.
Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.
Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.