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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to