Serializable
public class UnsupportedCallbackException extends Exception
CallbackHandler
does not recognize a particular Callback
.Constructor | Description |
---|---|
UnsupportedCallbackException |
Constructs an UnsupportedCallbackException with no detail message. |
UnsupportedCallbackException |
Constructs a UnsupportedCallbackException with the specified detail message. |
Modifier and Type | Method | Description |
---|---|---|
Callback |
getCallback() |
Get the unrecognized Callback . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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
.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/javax/security/auth/callback/UnsupportedCallbackException.html