Stay organized with collections
Save and categorize content based on your preferences.
InvalidRequestMessageException
open class InvalidRequestMessageException : IdentityCredentialException
Thrown if message with the request doesn't satisfy the requirements documented in android.security.identity.IdentityCredential#getEntries(byte[],Map,byte[],byte[]).
Summary
Public constructors
InvalidRequestMessageException
InvalidRequestMessageException(message: String)
Constructs a new InvalidRequestMessageException
exception.
Parameters |
message |
String: the detail message. This value cannot be null . |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# InvalidRequestMessageException\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nInvalidRequestMessageException\n==============================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/security/identity/InvalidRequestMessageException \"View this page in Java\") \n\n```\nopen class InvalidRequestMessageException : IdentityCredentialException\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| | | ↳ | [android.security.identity.IdentityCredentialException](/reference/kotlin/android/security/identity/IdentityCredentialException) ||\n| | | | ↳ | [android.security.identity.InvalidRequestMessageException](#) |\n\nThrown if message with the request doesn't satisfy the requirements documented in android.security.identity.IdentityCredential#getEntries(byte\\[\\],Map,byte\\[\\],byte\\[\\]).\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [InvalidRequestMessageException](#InvalidRequestMessageException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Constructs a new [InvalidRequestMessageException](#) exception. |\n| [InvalidRequestMessageException](#InvalidRequestMessageException(kotlin.String,%20kotlin.Throwable))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`)` Constructs a new [InvalidRequestMessageException](#) exception. |\n\nPublic constructors\n-------------------\n\n### InvalidRequestMessageException\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInvalidRequestMessageException(message: String)\n```\n\nConstructs a new [InvalidRequestMessageException](#) exception.\n\n| Parameters ||\n|-----------|------------------------------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): the detail message. This value cannot be `null`. |\n\n### InvalidRequestMessageException\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInvalidRequestMessageException(\n message: String, \n cause: Throwable)\n```\n\nConstructs a new [InvalidRequestMessageException](#) exception.\n\n| Parameters ||\n|-----------|------------------------------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): the detail message. This value cannot be `null`. |\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html): the cause. This value cannot be `null`. |"]]