directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r329368 - in /directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store: MultiBaseSearch.java SingleBaseSearch.java
Date Sat, 29 Oct 2005 03:54:39 GMT
Author: erodriguez
Date: Fri Oct 28 20:54:34 2005
New Revision: 329368

URL: http://svn.apache.org/viewcvs?rev=329368&view=rev
Log:
Added root cause Throwable's to ConfigurationException's in dns-protocol.

Modified:
    directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/MultiBaseSearch.java
    directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/SingleBaseSearch.java

Modified: directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/MultiBaseSearch.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/MultiBaseSearch.java?rev=329368&r1=329367&r2=329368&view=diff
==============================================================================
--- directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/MultiBaseSearch.java
(original)
+++ directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/MultiBaseSearch.java
Fri Oct 28 20:54:34 2005
@@ -71,7 +71,7 @@
         {
             log.error( e.getMessage(), e );
             String message = "Failed to get catalog context " + (String) env.get( Context.PROVIDER_URL
);
-            throw new ConfigurationException( message );
+            throw new ConfigurationException( message, e );
         }
     }
 
@@ -88,7 +88,7 @@
         {
             log.error( ne.getMessage(), ne );
             String message = "Failed to get initial context " + (String) env.get( Context.PROVIDER_URL
);
-            throw new ConfigurationException( message );
+            throw new ConfigurationException( message, ne );
         }
     }
 

Modified: directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/SingleBaseSearch.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/SingleBaseSearch.java?rev=329368&r1=329367&r2=329368&view=diff
==============================================================================
--- directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/SingleBaseSearch.java
(original)
+++ directory/protocol-providers/dns/trunk/src/java/org/apache/dns/store/SingleBaseSearch.java
Fri Oct 28 20:54:34 2005
@@ -61,7 +61,7 @@
         {
             log.error( ne.getMessage(), ne );
             String message = "Failed to get initial context " + (String) env.get( Context.PROVIDER_URL
);
-            throw new ConfigurationException( message );
+            throw new ConfigurationException( message, ne );
         }
     }
 



Mime
View raw message