UnsupportedCallbackExceptionpublic class UnsupportedCallbackException extends Exception Thrown when a {@link CallbackHandler} does not support a particular {@link
Callback}. |
Fields Summary |
---|
private static final long | serialVersionUID | private Callback | callback |
Constructors Summary |
---|
public UnsupportedCallbackException(Callback callback)Creates a new exception instance and initializes it with just the
unsupported {@code Callback}, but no error message.
super();
this.callback = callback;
| public UnsupportedCallbackException(Callback callback, String message)Creates a new exception instance and initializes it with both the
unsupported {@code Callback} and an error message.
super(message);
this.callback = callback;
|
|