javax.security.auth.callback
public class UnsupportedCallbackException extends Exception
CallbackHandler does not
recognize a particular Callback.| Constructor and Description |
|---|
UnsupportedCallbackException(Callback callback)
Constructs a
UnsupportedCallbackException
with no detail message. |
UnsupportedCallbackException(Callback callback,
String msg)
Constructs a UnsupportedCallbackException with the specified detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
Callback |
getCallback()
Get the unrecognized
Callback. |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsupportedCallbackException(Callback callback)
UnsupportedCallbackException
with no detail message.
callback - the unrecognized Callback.public UnsupportedCallbackException(Callback callback, String msg)
callback - the unrecognized Callback. msg - the detail message.public Callback getCallback()
Callback.
Callback. Submit a bug or feature Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.