Serializablepublic class UnsupportedCallbackException extends Exception
CallbackHandler does not
recognize a particular Callback.| 构造器 | 说明 |
|---|---|
UnsupportedCallbackException(Callback callback) |
Constructs a
UnsupportedCallbackException
with no detail message. |
UnsupportedCallbackException(Callback callback,
String msg) |
Constructs a UnsupportedCallbackException with the specified detail
message.
|
public UnsupportedCallbackException(Callback callback)
UnsupportedCallbackException
with no detail message.
callback - the unrecognized Callback.public UnsupportedCallbackException(Callback callback, String msg)
callback - the unrecognized Callback. msg - the detail message.public Callback getCallback()
Callback.
Callback.