UnsupportedCallbackException

public class UnsupportedCallbackException extends Exception

Signals that a CallbackHandler does not recognize a particular Callback.

Public Constructor Summary

UnsupportedCallbackException(Callback callback)
Constructs a UnsupportedCallbackException with no detail message.
UnsupportedCallbackException(Callback callback, String msg)
Constructs a UnsupportedCallbackException with the specified detail message.

Public Method Summary

Callback
getCallback()
Get the unrecognized Callback.

Inherited Method Summary

Public Constructors

public UnsupportedCallbackException (Callback callback)

Constructs a UnsupportedCallbackException with no detail message.

Parameters
callback the unrecognized Callback.

public UnsupportedCallbackException (Callback callback, String msg)

Constructs a UnsupportedCallbackException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
callback the unrecognized Callback.

msg the detail message.

Public Methods

public Callback getCallback ()

Get the unrecognized Callback.

Returns
  • the unrecognized Callback.