geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean InvalidConfigurationException.java
Date Thu, 05 Feb 2004 19:25:18 GMT
jboynes     2004/02/05 11:25:18

  Modified:    modules/kernel/src/java/org/apache/geronimo/gbean
                        InvalidConfigurationException.java
  Log:
  Make unchecked as in many cases this is used where the user knows the GBeanInfo is valid.
  
  Revision  Changes    Path
  1.2       +5 -3      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/InvalidConfigurationException.java
  
  Index: InvalidConfigurationException.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/InvalidConfigurationException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InvalidConfigurationException.java	12 Jan 2004 01:38:55 -0000	1.1
  +++ InvalidConfigurationException.java	5 Feb 2004 19:25:18 -0000	1.2
  @@ -56,11 +56,13 @@
   package org.apache.geronimo.gbean;
   
   /**
  - *
  + * Unchecked Exception indicating that the GBeanInfo is invalid.
  + * This is unchecked becuase in many circumstances the GBeanInfo
  + * is set up in a static initializer and should always be valid.
    *
    * @version $Revision$ $Date$
    */
  -public class InvalidConfigurationException extends Exception {
  +public class InvalidConfigurationException extends RuntimeException {
       public InvalidConfigurationException() {
       }
   
  
  
  

Mime
View raw message