Stay organized with collections
Save and categorize content based on your preferences.
LimitExceededException
open class LimitExceededException : IllegalStateException
Indicates that the app has exceeded a limit set by the System.
Summary
Public constructors |
Constructs a new LimitExceededException with null as its detail message.
|
Constructs a new LimitExceededException with the specified detail message.
|
Public constructors
LimitExceededException
LimitExceededException()
Constructs a new LimitExceededException
with null
as its detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause
.
LimitExceededException
LimitExceededException(message: String)
Constructs a new LimitExceededException
with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause
.
Parameters |
message |
String: the detail message which is saved for later retrieval by the getMessage() method. 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,["# LimitExceededException\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nLimitExceededException\n======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/os/LimitExceededException \"View this page in Java\") \n\n```\nopen class LimitExceededException : IllegalStateException\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| | | ↳ | [java.lang.RuntimeException](../../java/lang/RuntimeException.html#) |||\n| | | | ↳ | [java.lang.IllegalStateException](../../java/lang/IllegalStateException.html#) ||\n| | | | | ↳ | [android.os.LimitExceededException](#) |\n\nIndicates that the app has exceeded a limit set by the System.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [LimitExceededException](#LimitExceededException())`()` Constructs a new `LimitExceededException` with `null` as its detail message. |\n| [LimitExceededException](#LimitExceededException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Constructs a new `LimitExceededException` with the specified detail message. |\n\nPublic constructors\n-------------------\n\n### LimitExceededException\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nLimitExceededException()\n```\n\nConstructs a new `LimitExceededException` with `null` as its detail message. The cause is not initialized, and may subsequently be initialized by a call to [initCause](../../java/lang/Throwable.html#initCause(kotlin.Throwable)). \n\n### LimitExceededException\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nLimitExceededException(message: String)\n```\n\nConstructs a new `LimitExceededException` with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to [initCause](../../java/lang/Throwable.html#initCause(kotlin.Throwable)).\n\n| Parameters ||\n|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): the detail message which is saved for later retrieval by the [getMessage()](../../java/lang/Throwable.html#getMessage()) method. This value cannot be `null`. |"]]