Added in API level 1

UnsupportedCallbackException

public class UnsupportedCallbackException
extends Exception

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ javax.security.auth.callback.UnsupportedCallbackException


Signals that a CallbackHandler does not recognize a particular Callback.

Summary

Public constructors

UnsupportedCallbackException(Callback callback)

Constructs a UnsupportedCallbackException with no detail message.

UnsupportedCallbackException(Callback callback, String msg)

Constructs a UnsupportedCallbackException with the specified detail message.

Public methods

Callback getCallback()

Get the unrecognized Callback.

Inherited methods

Public constructors

UnsupportedCallbackException

Added in API level 1
public UnsupportedCallbackException (Callback callback)

Constructs a UnsupportedCallbackException with no detail message.

Parameters
callback Callback: the unrecognized Callback.

UnsupportedCallbackException

Added in API level 1
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 Callback: the unrecognized Callback.

msg String: the detail message.

Public methods

getCallback

Added in API level 1
public Callback getCallback ()

Get the unrecognized Callback.

Returns
Callback the unrecognized Callback.