Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

UnsupportedCallbackException

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

Class Overview

Thrown when a CallbackHandler does not support a particular Callback .

Summary

Public Constructors
UnsupportedCallbackException ( Callback callback)
Creates a new exception instance and initializes it with just the unsupported Callback , but no error message.
UnsupportedCallbackException ( Callback callback, String message)
Creates a new exception instance and initializes it with both the unsupported Callback and an error message.
Public Methods
Callback getCallback ()
Returns the unsupported Callback that triggered this exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UnsupportedCallbackException ( Callback callback)

Added in API level 1

Creates a new exception instance and initializes it with just the unsupported Callback , but no error message.

Parameters
callback the Callback

public UnsupportedCallbackException ( Callback callback, String message)

Added in API level 1

Creates a new exception instance and initializes it with both the unsupported Callback and an error message.

Parameters
callback the Callback
message the error message

Public Methods

public Callback getCallback ()

Added in API level 1

Returns the unsupported Callback that triggered this exception.

Returns
  • the Callback