Exception Validator.InvalidValueException

Invalid value exception can be thrown by com.itmill.toolkit.data.Validator when a given value is not valid.

Synopsis

Since

3.0

Inheritance Path.  java.lang.Object-> java.lang.Throwable-> java.lang.Exception-> java.lang.RuntimeException-> com.itmill.toolkit.data.Validator.InvalidValueException

Validator.InvalidValueException(String)

Parameters

message

The detail message of the problem.

Constructs a new InvalidValueException with the specified detail message.

Validator.InvalidValueException(String, Validator.InvalidValueException[])

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.

addListener(Paintable.RepaintRequestListener)

Description copied from interface: addListener

Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.

getErrorLevel()

Parameters

return

the level of error as an integer.

Description copied from interface: getErrorLevel

Gets the errors level.

removeListener(Paintable.RepaintRequestListener)

Description copied from interface: removeListener

Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.

requestRepaint()

Description copied from interface: requestRepaint

Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.