diff options
author | Brian Jones <cbj@gnu.org> | 1998-10-30 04:29:16 +0000 |
---|---|---|
committer | Brian Jones <cbj@gnu.org> | 1998-10-30 04:29:16 +0000 |
commit | 0f609bac8b6fc5e0cc4a388787ca7b38c34af8bc (patch) | |
tree | 740634c806600ce63562e2b76da30819337c1fad | |
parent | 4a056944a0970f61d2fe61e3eecf2403352e8dff (diff) | |
download | classpath-0f609bac8b6fc5e0cc4a388787ca7b38c34af8bc.tar.gz |
added copyright notice
24 files changed, 480 insertions, 8 deletions
diff --git a/java/lang/ArithmeticException.java b/java/lang/ArithmeticException.java index f84a7da2b..efd16849d 100644 --- a/java/lang/ArithmeticException.java +++ b/java/lang/ArithmeticException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* ArithmeticException.java -- exception thrown to indicate conditions +/* like divide by zero. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/ArrayIndexOutOfBoundsException.java b/java/lang/ArrayIndexOutOfBoundsException.java index 537c2ec58..b390d41ad 100644 --- a/java/lang/ArrayIndexOutOfBoundsException.java +++ b/java/lang/ArrayIndexOutOfBoundsException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* ArrayIndexOutOfBoundsException.java -- exception thrown when accessing +/* an illegal index. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/ArrayStoreException.java b/java/lang/ArrayStoreException.java index 9fad2b774..d0fc5b177 100644 --- a/java/lang/ArrayStoreException.java +++ b/java/lang/ArrayStoreException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* ArrayStoreException.java -- exception thrown to when trying to store an +/* object into an array of a different type. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/ClassCastException.java b/java/lang/ClassCastException.java index 9566a7ffb..723530619 100644 --- a/java/lang/ClassCastException.java +++ b/java/lang/ClassCastException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* ClassCastException.java -- exception thrown when incorrectly trying to +/* cast an object to a subclass it does not belong to. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/ClassNotFoundException.java b/java/lang/ClassNotFoundException.java index d8372c7a2..17e922bf3 100644 --- a/java/lang/ClassNotFoundException.java +++ b/java/lang/ClassNotFoundException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* ClassNotFoundException.java -- exception thrown when attempting to load +/* a class when no definition for the class can be found. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/CloneNotSupportedException.java b/java/lang/CloneNotSupportedException.java index 5489b116c..1a6a0d341 100644 --- a/java/lang/CloneNotSupportedException.java +++ b/java/lang/CloneNotSupportedException.java @@ -1,3 +1,24 @@ +/************************************************************************* +/* CloneNotSupportedException.java -- exception thrown to indicate that +/* the object calling the clone method of Object does not implement the +/* Cloneable interface. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/Exception.java b/java/lang/Exception.java index affeb5d23..60d1aae63 100644 --- a/java/lang/Exception.java +++ b/java/lang/Exception.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* Exception.java -- generic exception thrown to indicate an exceptional +/* condition has occurred. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/IllegalAccessException.java b/java/lang/IllegalAccessException.java index 20b0048b5..bb2d1cdd2 100644 --- a/java/lang/IllegalAccessException.java +++ b/java/lang/IllegalAccessException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* IllegalAccessException.java -- exception thrown when trying to load a +/* class that is not public and in another package. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/IllegalArgumentException.java b/java/lang/IllegalArgumentException.java index aacbfe84d..a8faddb90 100644 --- a/java/lang/IllegalArgumentException.java +++ b/java/lang/IllegalArgumentException.java @@ -1,9 +1,28 @@ +/************************************************************************* +/* IllegalArgumentException.java -- exception may be thrown when a method +/* is passed an illegal or inappropriate argument. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ package java.lang; /** * Exceptions may be thrown by one part of a Java program and caught * by another in order to deal with exceptional conditions. - * When a method is passed and illegal or inappropriate argument + * When a method is passed an illegal or inappropriate argument * this exception may be thrown. * * @author Brian Jones diff --git a/java/lang/IllegalMonitorStateException.java b/java/lang/IllegalMonitorStateException.java index e4577e0e2..9a5059b2b 100644 --- a/java/lang/IllegalMonitorStateException.java +++ b/java/lang/IllegalMonitorStateException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* IllegalMonitorStateException.java -- exception thrown when a thread +/* attempts to wait on an object's monitor. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/IllegalStateException.java b/java/lang/IllegalStateException.java index c3f8c7f1d..ef8f63a30 100644 --- a/java/lang/IllegalStateException.java +++ b/java/lang/IllegalStateException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* IllegalStateException.java -- exception thrown when invoking a method at +/* an illegal or inappropriate time. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/IllegalThreadStateException.java b/java/lang/IllegalThreadStateException.java index 4ee2b9cef..686e94fe7 100644 --- a/java/lang/IllegalThreadStateException.java +++ b/java/lang/IllegalThreadStateException.java @@ -1,3 +1,24 @@ +/************************************************************************* +/* IllegalThreadStateException.java -- exception thrown when trying to +/* suspend or resume an object of class Thread when it is not in an +/* appropriate state for the operation. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/IndexOutOfBoundsException.java b/java/lang/IndexOutOfBoundsException.java index 42e4c1ff6..f86e9fdd2 100644 --- a/java/lang/IndexOutOfBoundsException.java +++ b/java/lang/IndexOutOfBoundsException.java @@ -1,3 +1,24 @@ +/************************************************************************* +/* IndexOutOfBoundsException.java -- exception thrown when attempting to +/* access an index which is out of bounds on objects like String, Array, +/* or Vector. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/InstantiationException.java b/java/lang/InstantiationException.java index 7bb71d401..22dc21cec 100644 --- a/java/lang/InstantiationException.java +++ b/java/lang/InstantiationException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* InstantiationException.java -- exception thrown when trying to instantiate +/* interfaces and abstract classes using the newInstance method of class Class. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/InterruptedException.java b/java/lang/InterruptedException.java index 6f4f123ab..8cc614777 100644 --- a/java/lang/InterruptedException.java +++ b/java/lang/InterruptedException.java @@ -1,11 +1,32 @@ +/************************************************************************* +/* InterruptedException.java -- exception thrown when a thread interrupts +/* another thread which was previously sleeping, waiting, or paused in some +/* other way. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** * Exceptions may be thrown by one part of a Java program and caught * by another in order to deal with exceptional conditions. - * When a thread interrupts another thread which was previously sleeping, - * waiting, or paused in some other way. See the <code>interrupt</code> - * method of class <code>Thread</code>. + * Thrown when a thread interrupts another thread which was previously + * sleeping, waiting, or paused in some other way. See the + * <code>interrupt</code> method of class <code>Thread</code>. * * @author Brian Jones */ diff --git a/java/lang/NegativeArraySizeException.java b/java/lang/NegativeArraySizeException.java index 3fb7290a9..b8dab6ccd 100644 --- a/java/lang/NegativeArraySizeException.java +++ b/java/lang/NegativeArraySizeException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* NegativeArraySizeException.java -- exception thrown when an attempt is +/* made to create an array with a negative size. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/NoSuchFieldException.java b/java/lang/NoSuchFieldException.java index 066658315..9b4a4a6ea 100644 --- a/java/lang/NoSuchFieldException.java +++ b/java/lang/NoSuchFieldException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* NoSuchFieldException.java -- exception thrown to indicate the class does +/* not have the specified field. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/NoSuchMethodException.java b/java/lang/NoSuchMethodException.java index c0aa6d8db..f1a45a44c 100644 --- a/java/lang/NoSuchMethodException.java +++ b/java/lang/NoSuchMethodException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* NoSuchMethodException.java -- exception thrown to indicate the class +/* does not have the specified method. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/NullPointerException.java b/java/lang/NullPointerException.java index 84a7abdce..8e6adf08e 100644 --- a/java/lang/NullPointerException.java +++ b/java/lang/NullPointerException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* NullPointerException.java -- exception thrown when attempting to use null +/* where an object is required. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/NumberFormatException.java b/java/lang/NumberFormatException.java index 9ccdacbef..1cec2b3c0 100644 --- a/java/lang/NumberFormatException.java +++ b/java/lang/NumberFormatException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* NumberFormatException.java -- exception may be thrown when attempting to +/* convert a STring to one of the numeric types, but the operation fails. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/RuntimeException.java b/java/lang/RuntimeException.java index 9a25322f7..44525a808 100644 --- a/java/lang/RuntimeException.java +++ b/java/lang/RuntimeException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* RuntimeException.java -- all exceptions which are subclasses of this class +/* can be thrown at any time during the execution of a Java virtual machine. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/SecurityException.java b/java/lang/SecurityException.java index d549c731d..1328ea387 100644 --- a/java/lang/SecurityException.java +++ b/java/lang/SecurityException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* SecurityException.java -- exception thrown to indicate a security +/* violation. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/StringIndexOutOfBoundsException.java b/java/lang/StringIndexOutOfBoundsException.java index eb31efcd7..0f97d9db3 100644 --- a/java/lang/StringIndexOutOfBoundsException.java +++ b/java/lang/StringIndexOutOfBoundsException.java @@ -1,3 +1,23 @@ +/************************************************************************* +/* StringIndexOutOfBoundsException.java -- exception thrown to indicate +/* an attempt to access an index which is out of bounds. +/* +/* Copyright (c) 1998 by Free Software Foundation, Inc. +/* +/* This program is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, version 2. (see COPYING.LIB) +/* +/* This program is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with this program; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + package java.lang; /** diff --git a/java/lang/UnsupportedOperationException.java b/java/lang/UnsupportedOperationException.java index 03dbfe7d2..1d3cd447c 100644 --- a/java/lang/UnsupportedOperationException.java +++ b/java/lang/UnsupportedOperationException.java @@ -1,6 +1,6 @@ /************************************************************************* /* UnsupportedOperationException.java -- Exception thrown when an -/* unsupported operation is attempted on an object +/* unsupported operation is attempted on an object /* /* Copyright (c) 1998 by Free Software Foundation, Inc. /* @@ -26,10 +26,19 @@ package java.lang; */ public class UnsupportedOperationException extends RuntimeException { - public UnsupportedOperationException() {} + /** + * Create an exception without a message. + */ + public UnsupportedOperationException() + { + super(); + } - public UnsupportedOperationException( String msg ) + /** + * Create an exception with a message. + */ + public UnsupportedOperationException( String s ) { - super( msg ); + super(s); } } |