java.lang
public class RuntimeException extends Exception
RuntimeException
can be thrown at any time during the execution of a Java virtual machine.
Methods which throw these exceptions are not required to declare them
in their throws clause.
UNKNOWN: updated to 1.4
Constructor Summary | |
---|---|
RuntimeException()
Create an exception without a message. | |
RuntimeException(String s)
Create an exception with a message. | |
RuntimeException(String s, Throwable cause)
Create an exception with a message and a cause.
| |
RuntimeException(Throwable cause)
Create an exception with the given cause, and a message of
cause == null ? |
See Also: RuntimeException
Parameters: s the message string
See Also: RuntimeException
Parameters: s the message string cause the cause of this exception
Since: 1.4
cause == null ? null : cause.toString()
.
Parameters: cause the cause of this exception
Since: 1.4