Most visited

Recently visited

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

From class java.lang.Throwable
From class java.lang.Object

Public constructors

UnsupportedCallbackException

Added in API level 1
UnsupportedCallbackException (Callback callback)

Constructs a UnsupportedCallbackException with no detail message.

Parameters
callback Callback: the unrecognized Callback.

UnsupportedCallbackException

Added in API level 1
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
Callback getCallback ()

Get the unrecognized Callback.

Returns
Callback the unrecognized Callback.

Hooray!