Initial revision
[gcc.git] / libjava / java / lang / StringIndexOutOfBoundsException.java
1 /* Copyright (C) 1998, 1999 Cygnus Solutions
2
3 This file is part of libgcj.
4
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7 details. */
8
9 package java.lang;
10
11 /**
12 * @author Warren Levy <warrenl@cygnus.com>
13 * @date September 18, 1998.
14 */
15 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
16 * "The Java Language Specification", ISBN 0-201-63451-1
17 * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
18 * Status: Believed complete and correct.
19 */
20
21 public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException
22 {
23 public StringIndexOutOfBoundsException()
24 {
25 super();
26 }
27
28 public StringIndexOutOfBoundsException(int index)
29 {
30 this("String index out of range: " + index);
31 }
32
33 public StringIndexOutOfBoundsException(String msg)
34 {
35 super(msg);
36 }
37 }