Class BindingException

All Implemented Interfaces:
Serializable

public class BindingException extends RuntimeException
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 Details

    • BindingException

      public BindingException(String message)
      Constructs a new binding exception with the specified detail message.
      Parameters:
      message - the detail message
    • BindingException

      public BindingException(String message, Throwable cause)
      Constructs a new binding exception with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • BindingException

      public 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 of cause).
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)