Back to index

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

This exception can be thrown to indicate an attempt to access an index which is out of bounds on objects like String, Array, or Vector. More...

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

List of all members.

Public Member Functions

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

Static Private Attributes

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

Detailed Description

This exception can be thrown to indicate an attempt to access an index which is out of bounds on objects like String, Array, or Vector.

Usually any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds.

Author:
Brian Jones
Warren Levy warre.nosp@m.nl@c.nosp@m.ygnus.nosp@m..com updated to 1.4

Definition at line 52 of file IndexOutOfBoundsException.java.


Constructor & Destructor Documentation

Create an exception without a message.

Definition at line 62 of file IndexOutOfBoundsException.java.

  {
  }

Create an exception with a message.

Parameters:
sthe message

Definition at line 71 of file IndexOutOfBoundsException.java.

  {
    super(s);
  }

Member Data Documentation

final long java.lang.IndexOutOfBoundsException.serialVersionUID = 234122996006267687L [static, private]

Compatible with JDK 1.0+.

Reimplemented from java.lang.RuntimeException.

Reimplemented in java.lang.ArrayIndexOutOfBoundsException, and java.lang.StringIndexOutOfBoundsException.

Definition at line 57 of file IndexOutOfBoundsException.java.


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