diff options
author | Mark Wielaard <mark@gcc.gnu.org> | 2002-03-24 21:32:14 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2002-03-24 21:32:14 +0000 |
commit | c9be3825b3fbc09299fc0367c15cbe8c7e785a30 (patch) | |
tree | 6cb628794db014ae21693c54f293e3c35d7adbde /libjava/java/beans/IntrospectionException.java | |
parent | 3ddbb8a977c1e7060088501b8fc5d07483774847 (diff) | |
download | gcc-c9be3825b3fbc09299fc0367c15cbe8c7e785a30.zip gcc-c9be3825b3fbc09299fc0367c15cbe8c7e785a30.tar.gz gcc-c9be3825b3fbc09299fc0367c15cbe8c7e785a30.tar.bz2 |
[multiple changes]
2002-03-24 Eric Blake <ebb9@email.byu.edu>
* java/beans/IntrospectionException.java: Update to 1.4.
* java/beans/PropertyVetoException.java: Ditto.
2002-03-24 Eric Blake <ebb9@email.byu.edu>
* gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
Arrays.equals instead of ArrayHelper.equalsArray.
2002-03-24 C. Brian Jones <cbj@gnu.org>
* java/beans/Introspector.java: added new static final fields
introduced in 1.2, lots of other updates remain to be done
2002-03-24 C. Brian Jones <cbj@gnu.org>
* java/beans/Introspector.java: reformatting
2002-03-24 C. Brian Jones <cbj@gnu.org>
* java/beans/Introspector.java: default beanInfoSearchPath will
not include sun.beans.infos given we provide no such package and
the API doesn't really require it; gnu.java.beans.info is the
default.
2002-03-24 Mark Wielaard <mark@klomp.org>
Thanks to Orp developers
* gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
switch TRUE and FALSE return values.
From-SVN: r51273
Diffstat (limited to 'libjava/java/beans/IntrospectionException.java')
-rw-r--r-- | libjava/java/beans/IntrospectionException.java | 46 |
1 files changed, 28 insertions, 18 deletions
diff --git a/libjava/java/beans/IntrospectionException.java b/libjava/java/beans/IntrospectionException.java index 6b9aab6..9883c9a 100644 --- a/libjava/java/beans/IntrospectionException.java +++ b/libjava/java/beans/IntrospectionException.java @@ -1,5 +1,5 @@ -/* java.beans.IntrospectionException - Copyright (C) 1998 Free Software Foundation, Inc. +/* IntrospectionException -- thrown when an exception occurs in introspection + Copyright (C) 1998, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath 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 @@ -39,19 +39,29 @@ exception statement from your version. */ package java.beans; /** - ** IntrospectionException is thrown when the Introspector fails. Surprise, surprise. - ** - ** @author John Keiser - ** @since JDK1.1 - ** @version 1.1.0, 31 May 1998 - ** @see java.beans.Introspector - **/ - -public class IntrospectionException extends Exception { - /** Instantiate this exception with the given message. - ** @param msg the message for the exception. - **/ - public IntrospectionException(String msg) { - super(msg); - } + * IntrospectionException is thrown when the Introspector fails. Typical + * causes are the inability to map a name to its Class, or specifying a + * wrong type signature. + * + * @author John Keiser + * @see Introspector + * @since 1.1 + * @status updated to 1.4 + */ +public class IntrospectionException extends Exception +{ + /** + * Compatible with JDK 1.1+. + */ + private static final long serialVersionUID = -3728150539969542619L; + + /** + * Instantiate this exception with the given message. + * + * @param msg the message for the exception + */ + public IntrospectionException(String msg) + { + super(msg); + } } |