You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/06/25 09:01:15 UTC

cvs commit: jakarta-turbine/src/java/org/apache/turbine/services/db/adapter DBFactory.java

jvanzyl     01/06/25 00:01:14

  Modified:    src/java/org/apache/turbine/services/db/adapter
                        DBFactory.java
  Log:
  - cleaning up error messages.
  
  Revision  Changes    Path
  1.2       +5 -5      jakarta-turbine/src/java/org/apache/turbine/services/db/adapter/DBFactory.java
  
  Index: DBFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/db/adapter/DBFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DBFactory.java	2001/06/25 05:10:32	1.1
  +++ DBFactory.java	2001/06/25 07:01:14	1.2
  @@ -79,7 +79,7 @@
    * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
    * @author <a href="mailto:bmclaugh@algx.net">Brett McLaughlin</a>
    * @author <a href="mailto:ralf@reswi.ruhr.de">Ralf Stranzenbach</a>
  - * @version $Id: DBFactory.java,v 1.1 2001/06/25 05:10:32 jvanzyl Exp $
  + * @version $Id: DBFactory.java,v 1.2 2001/06/25 07:01:14 jvanzyl Exp $
    */
   public class DBFactory
   {
  @@ -184,14 +184,14 @@
               }
               catch (IllegalAccessException e)
               {
  -                throw new InstantiationException("Driver " + driver +
  -                                                 " not instantiated.");
  +                throw new InstantiationException(
  +                    "Driver " + driver + " not instantiated.");
               }
           }
           else
           {
  -            throw new InstantiationException("Database type " + driver +
  -                                             " not implemented.");
  +            throw new InstantiationException(
  +                "Database type " + driver + " not implemented.");
           }
       }
   }
  
  
  

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