Class java.lang.RuntimeException
All Packages Class Hierarchy This Package Previous Next Index
Class java.lang.RuntimeException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
- public class RuntimeException
- extends Exception
An exception that can reasonably occur during the execution of a Java
program by the Virtual machine.
-
RuntimeException()
- Constructs a RuntimeException with no detail message.
-
RuntimeException(String)
- Constructs a RuntimeException with the specified detail message.
RuntimeException
public RuntimeException()
- Constructs a RuntimeException with no detail message.
A detail message is a String that describes this particular exception.
RuntimeException
public RuntimeException(String s)
- Constructs a RuntimeException with the specified detail message.
A detail message is a String that describes this particular exception.
- Parameters:
- s - the detail message
All Packages Class Hierarchy This Package Previous Next Index