db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baser...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util/factory ConfigurableFactory.java
Date Thu, 08 May 2003 14:53:49 GMT
baserose    2003/05/08 07:53:49

  Modified:    src/java/org/apache/ojb/broker/util/factory
                        ConfigurableFactory.java
  Log:
  better error message
  
  Revision  Changes    Path
  1.10      +2 -2      db-ojb/src/java/org/apache/ojb/broker/util/factory/ConfigurableFactory.java
  
  Index: ConfigurableFactory.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/factory/ConfigurableFactory.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ConfigurableFactory.java	5 Mar 2003 23:52:09 -0000	1.9
  +++ ConfigurableFactory.java	8 May 2003 14:53:49 -0000	1.10
  @@ -117,9 +117,9 @@
           Class clazz = pConfig.getClass(getConfigurationKey(), null);
           if (clazz == null)
           {
  -            getLogger().error("ConfigurableFactory configuration key class '" + clazz +
"' does not exist.");
  +            getLogger().error("ConfigurableFactory configuration key class for key'" +
getConfigurationKey() + "' does not exist.");
               throw new PersistenceBrokerException(
  -                    "ConfigurableFactory configuration key class '" + clazz + "' does not
exist.");
  +                    "ConfigurableFactory configuration key class for key'" + getConfigurationKey()
+ "' does not exist.");
           }
           this.setClassToServe(clazz);
       }
  
  
  

Mime
View raw message