APIdia Launch Partner
Top Description Fields Constructors Methods
javax.security.auth.callback

public Class UnsupportedCallbackException

extends Exception
Class Inheritance

Signals that a CallbackHandler does not recognize a particular Callback.
Since
1.4

Field Summary

Modifier and TypeField and Description
private final Callback
private static final long

Constructor Summary

AccessConstructor and Description
public
UnsupportedCallbackException(Callback
the unrecognized Callback.
callback
)

Constructs an UnsupportedCallbackException with no detail message.

public
UnsupportedCallbackException(Callback
the unrecognized Callback.
callback
,
String
the detail message.
msg
)

Constructs a UnsupportedCallbackException with the specified detail message.

Method Summary

Modifier and TypeMethod and Description
public Callback

Returns:

the unrecognized Callback.
getCallback
()

Get the unrecognized Callback.

Field Detail

callbackback to summary
private final Callback callback
Annotations
@SuppressWarnings:serial
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Annotations
@Serial

Constructor Detail

UnsupportedCallbackExceptionback to summary
public UnsupportedCallbackException(Callback callback)

Constructs an UnsupportedCallbackException with no detail message.

Parameters
callback:Callback

the unrecognized Callback.

UnsupportedCallbackExceptionback to summary
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.

Method Detail

getCallbackback to summary
public Callback getCallback()

Get the unrecognized Callback.

Returns:Callback

the unrecognized Callback.