public class UnsupportedCallbackException extends Exception
CallbackHandler
does not recognize a particular
Callback
.Constructor and Description |
---|
UnsupportedCallbackException(Callback callback)
Constructs an
UnsupportedCallbackException with no detail
message. |
UnsupportedCallbackException(Callback callback,
String msg)
Constructs an
UnsupportedCallbackException with the specified
detail message. |
Modifier and Type | Method and Description |
---|---|
Callback |
getCallback()
Get the unrecognized
Callback . |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedCallbackException(Callback callback)
UnsupportedCallbackException
with no detail
message.callback
- the unrecognized Callback
.public UnsupportedCallbackException(Callback callback, String msg)
UnsupportedCallbackException
with the specified
detail message. A detail message is a String
that describes this
particular exception.callback
- the unrecognized Callback
.msg
- the detail message.public Callback getCallback()
Callback
.Callback
.