ws-wss4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wer...@apache.org
Subject svn commit: r345246 - /webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java
Date Thu, 17 Nov 2005 14:21:14 GMT
Author: werner
Date: Thu Nov 17 06:21:09 2005
New Revision: 345246

URL: http://svn.apache.org/viewcvs?rev=345246&view=rev
Log:
Propagate exception during Crypto instantiation.

Modified:
    webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java

Modified: webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java
URL: http://svn.apache.org/viewcvs/webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java?rev=345246&r1=345245&r2=345246&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java
(original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java
Thu Nov 17 06:21:09 2005
@@ -152,7 +152,7 @@
         } catch (java.lang.Exception e) {
             e.printStackTrace();
             log.error("Unable to instantiate (2): " + cryptoClassName, e);
-            throw new RuntimeException(cryptoClassName + " cannot create instance");
+            throw new RuntimeException(cryptoClassName + " cannot create instance", e);
         }
     }
     /**



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


Mime
View raw message