You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2004/06/29 14:37:56 UTC

cvs commit: jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource BoundDBCPDatasourceComponent.java

weaver      2004/06/29 05:37:56

  Modified:    components/rdbms/src/java/org/apache/jetspeed/components/datasource
                        BoundDBCPDatasourceComponent.java
  Log:
  use jdk 1.4 exception nesting
  
  Revision  Changes    Path
  1.3       +3 -1      jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java
  
  Index: BoundDBCPDatasourceComponent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BoundDBCPDatasourceComponent.java	27 May 2004 19:40:27 -0000	1.2
  +++ BoundDBCPDatasourceComponent.java	29 Jun 2004 12:37:55 -0000	1.3
  @@ -79,7 +79,9 @@
           }
           catch (NamingException e)
           {
  -            throw new IllegalStateException("Naming exception "+e.toString());
  +            IllegalStateException ise = new IllegalStateException("Naming exception "+e.toString());
  +            ise.initCause(e);
  +            throw ise;
           }
       }
   
  
  
  

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