Back to index

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

Thrown when a math error has occured, such as trying to divide an integer by zero. More...

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

List of all members.

Public Member Functions

 ArithmeticException ()
 Create an exception without a message.
 ArithmeticException (String s)
 Create an exception with a message.

Static Private Attributes

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

Detailed Description

Thrown when a math error has occured, such as trying to divide an integer by zero.

For example:

 int i = 0;
 int j = 2 / i;
 
Author:
Brian Jones
Warren Levy warre.nosp@m.nl@c.nosp@m.ygnus.nosp@m..com updated to 1.4

Definition at line 54 of file ArithmeticException.java.


Constructor & Destructor Documentation

Create an exception without a message.

Definition at line 64 of file ArithmeticException.java.

  {
  }

Create an exception with a message.

Parameters:
sthe message

Definition at line 73 of file ArithmeticException.java.

  {
    super(s);
  }

Member Data Documentation

final long java.lang.ArithmeticException.serialVersionUID = 2256477558314496007L [static, private]

Compatible with JDK 1.0+.

Reimplemented from java.lang.RuntimeException.

Definition at line 59 of file ArithmeticException.java.


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