db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util ClassHelper.java
Date Sun, 31 Aug 2003 00:46:30 GMT
arminw      2003/08/30 17:46:30

  Modified:    src/java/org/apache/ojb/broker/util ClassHelper.java
  Log:
  remove never thrown exceptions
  
  Revision  Changes    Path
  1.3       +4 -4      db-ojb/src/java/org/apache/ojb/broker/util/ClassHelper.java
  
  Index: ClassHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/ClassHelper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ClassHelper.java	28 Dec 2002 12:56:11 -0000	1.2
  +++ ClassHelper.java	31 Aug 2003 00:46:30 -0000	1.3
  @@ -23,7 +23,7 @@
        * Returns new instance of the given class, using the default constructor.
        */
       public static Object newInstance(Class target) throws InstantiationException,
  -            IllegalAccessException, ClassNotFoundException
  +            IllegalAccessException
       {
           return target.newInstance();
       }
  @@ -33,7 +33,7 @@
        */
       public static Object newInstance(Class target, Class[] types, Object[] args) throws
               InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException,
  -            NoSuchMethodException, SecurityException, ClassNotFoundException
  +            NoSuchMethodException, SecurityException
       {
           return target.getConstructor(types).newInstance(args);
       }
  @@ -75,7 +75,7 @@
   
       public static Object newInstance(Class target, Class type, Object arg) throws
               InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException,
  -            NoSuchMethodException, SecurityException, ClassNotFoundException
  +            NoSuchMethodException, SecurityException
       {
           return newInstance(target, new Class[]{type}, new Object[]{arg});
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message