Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 1004
نمايش فراداده

UnsupportedCallbackExceptionjavax.security.auth.callback

Java 1.4serializable checked

CallbackHandler implementations may throw exceptions of this type from their handle( ) method if a Callback object passed to that method is of an unrecognized or unsupported type. Note that the offending Callback object must be passed to the constructor method.

Figure 19-13. javax.security.auth.callback.UnsupportedCallbackException

public class

UnsupportedCallbackException extends Exception { // Public Constructors public

UnsupportedCallbackException (Callback

callback ); public

UnsupportedCallbackException (Callback

callback , String

msg ); // Public Instance Methods public Callback

getCallback ( ); }

Thrown By

CallbackHandler.handle( )