Stay organized with collections
Save and categorize content based on your preferences.
InvalidParameterException
open class InvalidParameterException : IllegalArgumentException
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.
Summary
Public constructors |
Constructs an InvalidParameterException with no detail message.
|
Constructs an InvalidParameterException with the specified detail message.
|
Public constructors
InvalidParameterException
InvalidParameterException()
Constructs an InvalidParameterException with no detail message. A detail message is a String that describes this particular exception.
InvalidParameterException
InvalidParameterException(msg: String!)
Constructs an InvalidParameterException with the specified detail message. A detail message is a String that describes this particular exception.
Parameters |
msg |
String!: the detail message. |
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,["# InvalidParameterException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nInvalidParameterException\n=========================\n\n```\nopen class InvalidParameterException : IllegalArgumentException\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](../lang/Exception.html#) ||||\n| | | ↳ | [java.lang.RuntimeException](../lang/RuntimeException.html#) |||\n| | | | ↳ | [java.lang.IllegalArgumentException](../lang/IllegalArgumentException.html#) ||\n| | | | | ↳ | [java.security.InvalidParameterException](#) |\n\nThis exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [InvalidParameterException](#InvalidParameterException())`()` Constructs an InvalidParameterException with no detail message. |\n| [InvalidParameterException](#InvalidParameterException(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an InvalidParameterException with the specified detail message. |\n\nPublic constructors\n-------------------\n\n### InvalidParameterException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInvalidParameterException()\n```\n\nConstructs an InvalidParameterException with no detail message. A detail message is a String that describes this particular exception. \n\n### InvalidParameterException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInvalidParameterException(msg: String!)\n```\n\nConstructs an InvalidParameterException with the specified detail message. A detail message is a String that describes this particular exception.\n\n| Parameters ||\n|-------|--------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message. |"]]