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 . |
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
. Submit a bug or feature
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.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.