Name
UnsupportedCallbackException
Synopsis
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( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.