Most visited

Recently visited

Added in API level 1

UnsupportedCallbackException

public class UnsupportedCallbackException
extends 异常

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


表示 CallbackHandler无法识别特定的 Callback

Summary

Public constructors

UnsupportedCallbackException(Callback callback)

构造一个没有详细信息的 UnsupportedCallbackException

UnsupportedCallbackException(Callback callback, String msg)

用指定的详细信息构造一个UnsupportedCallbackException。

Public methods

Callback getCallback()

获取无法识别的 Callback

Inherited methods

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

Public constructors

UnsupportedCallbackException

Added in API level 1
UnsupportedCallbackException (Callback callback)

构造一个没有详细信息的 UnsupportedCallbackException

Parameters
callback Callback: the unrecognized Callback.

UnsupportedCallbackException

Added in API level 1
UnsupportedCallbackException (Callback callback, 
                String msg)

用指定的详细信息构造一个UnsupportedCallbackException。 详细消息是描述此特定异常的字符串。

Parameters
callback Callback: the unrecognized Callback.

msg String: the detail message.

Public methods

getCallback

Added in API level 1
Callback getCallback ()

获取无法识别的 Callback

Returns
Callback the unrecognized Callback.

Hooray!