Stay organized with collections
Save and categorize content based on your preferences.
UnsupportedCallbackException
open class UnsupportedCallbackException : Exception
Signals that a CallbackHandler
does not recognize a particular Callback
.
Summary
Public constructors |
Constructs a UnsupportedCallbackException with no detail message.
|
Constructs a UnsupportedCallbackException with the specified detail message.
|
Public methods |
open Callback! |
Get the unrecognized Callback .
|
Public constructors
UnsupportedCallbackException
UnsupportedCallbackException(callback: Callback!)
Constructs a UnsupportedCallbackException
with no detail message.
Parameters |
callback |
Callback!: the unrecognized Callback . |
UnsupportedCallbackException
UnsupportedCallbackException(
callback: Callback!,
msg: String!)
Constructs a UnsupportedCallbackException with the specified detail message. A detail message is a String that describes this particular exception.
Parameters |
callback |
Callback!: the unrecognized Callback .
|
msg |
String!: the detail message. |
Public methods
getCallback
open fun getCallback(): Callback!
Get the unrecognized Callback
.
Return |
Callback! |
the unrecognized Callback . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# UnsupportedCallbackException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nUnsupportedCallbackException\n============================\n\n```\nopen class UnsupportedCallbackException : Exception\n```\n\n|---|---|---|----------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||\n| | ↳ | [java.lang.Exception](../../../../java/lang/Exception.html#) ||\n| | | ↳ | [javax.security.auth.callback.UnsupportedCallbackException](#) |\n\nSignals that a `CallbackHandler` does not recognize a particular `Callback`.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [UnsupportedCallbackException](#UnsupportedCallbackException(javax.security.auth.callback.Callback))`(`callback:` `[Callback](/reference/kotlin/javax/security/auth/callback/Callback)!`)` Constructs a `UnsupportedCallbackException` with no detail message. |\n| [UnsupportedCallbackException](#UnsupportedCallbackException(javax.security.auth.callback.Callback,%20kotlin.String))`(`callback:` `[Callback](/reference/kotlin/javax/security/auth/callback/Callback)!`, `msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs a UnsupportedCallbackException with the specified detail message. |\n\n| Public methods ||\n|---------------------------------------------------------------------------|--------------------------------------------------------------------|\n| open [Callback](/reference/kotlin/javax/security/auth/callback/Callback)! | [getCallback](#getCallback())`()` Get the unrecognized `Callback`. |\n\nPublic constructors\n-------------------\n\n### UnsupportedCallbackException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnsupportedCallbackException(callback: Callback!)\n```\n\nConstructs a `UnsupportedCallbackException` with no detail message.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|----------------------------------------------------------------------------------------------------|\n| `callback` | [Callback](/reference/kotlin/javax/security/auth/callback/Callback)!: the unrecognized `Callback`. |\n\n### UnsupportedCallbackException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnsupportedCallbackException(\n callback: Callback!, \n msg: String!)\n```\n\nConstructs a UnsupportedCallbackException with the specified detail message. A detail message is a String that describes this particular exception.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|-----------------------------------------------------------------------------------------------------------|\n| `callback` | [Callback](/reference/kotlin/javax/security/auth/callback/Callback)!: the unrecognized `Callback`. \u003cbr /\u003e |\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message. |\n\nPublic methods\n--------------\n\n### getCallback\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getCallback(): Callback!\n```\n\nGet the unrecognized `Callback`.\n\n\u003cbr /\u003e\n\n| Return ||\n|----------------------------------------------------------------------|------------------------------|\n| [Callback](/reference/kotlin/javax/security/auth/callback/Callback)! | the unrecognized `Callback`. |"]]