[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    cvs commit: jakarta-slide/proposals/stores/org/apache/slide/store/impl/rdbms J2EEStore.java
From:       ozeigermann () apache ! org
Date:       2003-11-26 15:13:52
[Download RAW message or body]

ozeigermann    2003/11/26 07:13:52

  Modified:    proposals/stores/org/apache/slide/store/impl/rdbms
                        J2EEStore.java
  Log:
  Minor change
  
  Revision  Changes    Path
  1.2       +5 -7      jakarta-slide/proposals/stores/org/apache/slide/store/impl/rdbms/J2EEStore.java
  
  Index: J2EEStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/proposals/stores/org/apache/slide/store/impl/rdbms/J2EEStore.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- J2EEStore.java	14 Nov 2003 12:28:27 -0000	1.1
  +++ J2EEStore.java	26 Nov 2003 15:13:52 -0000	1.2
  @@ -157,7 +157,6 @@
                   Context envCtx = (Context) initCtx.lookup("java:comp/env");
   
                   ds = (DataSource) envCtx.lookup(datasource);
  -                // TAKEN FROM ASHOK START: made error reporting much more verbose
               } catch (ClassCastException e) {
                   getLogger().log(
                       "Loading and registering datasource " + datasource + " failed",
  @@ -184,10 +183,9 @@
               }
   
               if (ds == null) {
  -                getLogger().log("Datasource is null, can't initialise store");
  +                getLogger().log("Datasource is null, can't initialize store");
                   throw new ServiceInitializationFailedException(this, "Null datasource from context");
               }
  -            // TAKEN FROM ASHOK END
           }
       }
   
  
  
  

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic