Added in API level 30

LimitExceededException


public class LimitExceededException
extends IllegalStateException

java.lang.Object
   ↳ java.lang.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

LimitExceededException()

Constructs a new LimitExceededException with null as its detail message.

LimitExceededException(String message)

Constructs a new LimitExceededException with the specified detail message.

Inherited methods

Public constructors

LimitExceededException

Added in API level 30
public 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 Throwable.initCause(Throwable).

LimitExceededException

Added in API level 30
public LimitExceededException (String message)

Constructs a new LimitExceededException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).

Parameters
message String: the detail message which is saved for later retrieval by the Throwable.getMessage() method. This value cannot be null.