public class BindingException extends RuntimeException
RuntimeException
which may be thrown inside
Binder.Binding
logic to wrap an exception caused by HasValue
,
validator, converter, etc. behavior.BindingExceptionHandler
,
Serialized FormConstructor and Description |
---|
BindingException(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 of cause ). |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BindingException(String message)
message
- the detail messagepublic BindingException(String message, Throwable cause)
message
- the detail messagecause
- 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.)public BindingException(Throwable cause)
(cause==null ? null : cause.toString())
(which
typically contains the class and detail message of cause
).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.)Copyright © 2022. All rights reserved.