Back to index

plt-scheme  4.2.1
Public Member Functions | Static Private Attributes
java.lang.RuntimeException Class Reference

All exceptions which are subclasses of RuntimeException can be thrown at any time during the execution of a Java virtual machine. More...

Inheritance diagram for java.lang.RuntimeException:
Inheritance graph
[legend]
Collaboration diagram for java.lang.RuntimeException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 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 ? null : cause.toString().

Static Private Attributes

static final long serialVersionUID = -7034897190745766939L
 Compatible with JDK 1.0+.

Detailed Description

All exceptions which are subclasses of 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.

Author:
Brian Jones
Warren Levy warre.nosp@m.nl@c.nosp@m.ygnus.nosp@m..com
Eric Blake ebb9@.nosp@m.emai.nosp@m.l.byu.nosp@m..edu updated to 1.4

Definition at line 52 of file RuntimeException.java.


Constructor & Destructor Documentation

Create an exception without a message.

The cause remains uninitialized.

See also:
#initCause(Throwable)

Definition at line 64 of file RuntimeException.java.

  {
  }

Create an exception with a message.

The cause remains uninitialized.

Parameters:
sthe message string
See also:
#initCause(Throwable)

Definition at line 74 of file RuntimeException.java.

  {
    super(s);
  }
java.lang.RuntimeException.RuntimeException ( String  s,
Throwable  cause 
) [inline]

Create an exception with a message and a cause.

Parameters:
sthe message string
causethe cause of this exception
Since:
1.4

Definition at line 86 of file RuntimeException.java.

  {
    super(s, cause);
  }
java.lang.RuntimeException.RuntimeException ( Throwable  cause) [inline]

Create an exception with the given cause, and a message of cause == null ? null : cause.toString().

Parameters:
causethe cause of this exception
Since:
1.4

Definition at line 98 of file RuntimeException.java.

  {
    super(cause);
  }

Member Data Documentation

final long java.lang.RuntimeException.serialVersionUID = -7034897190745766939L [static, private]

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