DthingApi
Public Member Functions | List of all members
java.lang.RuntimeException Class Reference
Inheritance diagram for java.lang.RuntimeException:
java.lang.Exception java.lang.Throwable java.lang.ArithmeticException java.lang.ArrayStoreException java.lang.ClassCastException java.lang.IllegalArgumentException java.lang.IllegalMonitorStateException java.lang.IllegalStateException java.lang.IndexOutOfBoundsException java.lang.NegativeArraySizeException java.lang.NullPointerException java.lang.SecurityException java.lang.UnsupportedOperationException

Public Member Functions

 RuntimeException ()
 
 RuntimeException (String detailMessage)
 
- Public Member Functions inherited from java.lang.Exception
 Exception ()
 
 Exception (String detailMessage)
 
- Public Member Functions inherited from java.lang.Throwable
 Throwable ()
 
 Throwable (String detailMessage)
 
String getMessage ()
 
String getLocalizedMessage ()
 
void printStackTrace ()
 
String toString ()
 

Detailed Description

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

or Error), the compiler does not require code to handle runtime exceptions.

Constructor & Destructor Documentation

◆ RuntimeException() [1/2]

java.lang.RuntimeException.RuntimeException ( )
inline

Constructs a new

that includes the current stack trace.

◆ RuntimeException() [2/2]

java.lang.RuntimeException.RuntimeException ( String  detailMessage)
inline

Constructs a new

with the current stack trace and the specified detail message.

Parameters
detailMessagethe detail message for this exception.

The documentation for this class was generated from the following file: