public class

UnsupportedCallbackException

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

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

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.