public class UnsupportedCallbackException extends Exception
CallbackHandler does not support a particular Callback.| Constructor and Description |
|---|
UnsupportedCallbackException(Callback callback)
Creates a new exception instance and initializes it with just the
unsupported
Callback, but no error message. |
UnsupportedCallbackException(Callback callback,
String message)
Creates a new exception instance and initializes it with both the
unsupported
Callback and an error message. |
| Modifier and Type | Method and Description |
|---|---|
Callback |
getCallback()
Returns the unsupported
Callback that triggered this exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsupportedCallbackException(Callback callback)
Callback, but no error message.callback - the Callbackpublic Callback getCallback()
Callback that triggered this exception.Callback