Package com.vaadin.flow.data.binder
Class BindingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.flow.data.binder.BindingException
- All Implemented Interfaces:
Serializable
A subclass of
RuntimeException
which may be thrown inside
Binder.Binding
logic to wrap an exception caused by HasValue
,
validator, converter, etc. behavior.- Since:
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorDescriptionBindingException
(String message) Constructs a new binding exception with the specified detail message.BindingException
(String message, Throwable cause) Constructs a new binding exception with the specified detail message and cause.BindingException
(Throwable cause) Constructs a new binding exception with the specified cause and a detail message of(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BindingException
Constructs a new binding exception with the specified detail message.- Parameters:
message
- the detail message
-
BindingException
Constructs a new binding exception with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
BindingException
Constructs a new binding exception with the specified cause and a detail message of(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
).- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-