lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

AndroidRuntimeException

public class AndroidRuntimeException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.util.AndroidRuntimeException


Base class for all unchecked exceptions thrown by the Android frameworks.

Summary

Public constructors

AndroidRuntimeException()
AndroidRuntimeException(String name)
AndroidRuntimeException(String name, Throwable cause)
AndroidRuntimeException(Exception cause)

Inherited methods

Public constructors

AndroidRuntimeException

added in API level 1
public AndroidRuntimeException ()

AndroidRuntimeException

added in API level 1
public AndroidRuntimeException (String name)

Parameters
name String

AndroidRuntimeException

added in API level 11
public AndroidRuntimeException (String name, 
                Throwable cause)

Parameters
name String

cause Throwable

AndroidRuntimeException

added in API level 1
public AndroidRuntimeException (Exception cause)

Parameters
cause Exception