| Package java.lang |
Previous |
Java API |
Index |
Next |
public class java.lang.RuntimeException
extends java.lang.Exception
{
// Constructors
public RuntimeException();
public RuntimeException(String s);
}
RuntimeException is the superclass of those exceptions which can be thrown during the normal operation of the Java Virtual Machine.
A method is not required to declare in its throws clause any subclasses of RuntimeException that might be thrown during the execution of the method but not caught.
public RuntimeException()Constructs a RuntimeException with no detail message.
public RuntimeException(String s)Constructs a RuntimeException with the specified detail message.
Parameter Description s the detail message
| © 1996 Sun Microsystems, Inc. All rights reserved. |