Added in API level 30

LimitExceededException


open class LimitExceededException : IllegalStateException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.lang.RuntimeException
   ↳ java.lang.IllegalStateException
   ↳ android.os.LimitExceededException

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

Added in API level 30
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

Added in API level 30
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.