| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | java.lang.RuntimeException | ||
|  Known Direct Subclasses 
          
           ActivityNotFoundException
          
          ,
          
           AndroidRuntimeException
          
          ,
          
           AnnotationTypeMismatchException
          
          ,
          
           ArithmeticException
          
          ,
          
           ArrayStoreException
          
          ,
          
           BufferOverflowException
          
          ,
          
           BufferUnderflowException
          
          ,
          
           ClassCastException
          
          ,
          
           ConcurrentModificationException
          
          ,
          
           DOMException
          
          ,
          
           EmptyStackException
          
          ,
              
              and
          
           34 others.
          
          
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  Known Indirect Subclasses 
          
           AccessControlException
          
          ,
          
           AlreadyConnectedException
          
          ,
          
           ArrayIndexOutOfBoundsException
          
          ,
          
           BadParcelableException
          
          ,
          
           CancellationException
          
          ,
          
           CancelledKeyException
          
          ,
          
           ClosedSelectorException
          
          ,
          
           ConnectionPendingException
          
          ,
          
           CursorIndexOutOfBoundsException
          
          ,
          
           DuplicateFormatFlagsException
          
          ,
          
           FormatFlagsConversionMismatchException
          
          ,
          
           FormatterClosedException
          
          ,
          
           Fragment.InstantiationException
          
          ,
          
           IllegalBlockingModeException
          
          ,
          
           IllegalCharsetNameException
          
          ,
              
              and
          
           50 others.
          
          
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
       
        RuntimeException
       
       is the superclass of all classes that represent
 exceptional conditions which occur as a result of executing an application in
 the VM. Unlike checked exceptions (exceptions where the type
 doesn't extend
       
        RuntimeException
       
       or
       
        
         Error
        
       
       ), the compiler does
 not require code to handle runtime exceptions.
      
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | 
          Constructs a new
           
           RuntimeException
          that includes the current stack
 trace. | ||||||||||
|  | 
          Constructs a new
           
           RuntimeException
          with the current stack trace
 and the specified detail message. | ||||||||||
|  | 
          Constructs a new
           
           RuntimeException
          with the current stack trace,
 the specified detail message and the specified cause. | ||||||||||
|  | 
          Constructs a new
           
           RuntimeException
          with the current stack trace
 and the specified cause. | ||||||||||
| [Expand] 
          Inherited Methods
          | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
         
          java.lang.Throwable 
 | |||||||||||||||||||||||||||||||||||||
|  From class
         
          java.lang.Object 
 | |||||||||||||||||||||||||||||||||||||
         Constructs a new
         
          RuntimeException
         
         that includes the current stack
 trace.
        
         Constructs a new
         
          RuntimeException
         
         with the current stack trace
 and the specified detail message.
        
| detailMessage | the detail message for this exception. | 
|---|
         Constructs a new
         
          RuntimeException
         
         with the current stack trace,
 the specified detail message and the specified cause.
        
| detailMessage | the detail message for this exception. | 
|---|---|
| throwable | the cause of this exception. | 
         Constructs a new
         
          RuntimeException
         
         with the current stack trace
 and the specified cause.
        
| throwable | the cause of this exception. | 
|---|
