You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by we...@apache.org on 2005/11/17 15:21:14 UTC
svn commit: r345246 -
/webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java
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
Re: svn commit: r345246 - /webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java
Posted by Davanum Srinivas <da...@gmail.com>.
werner,
won't work with JDK1.3 :(
-- dims
On 11/17/05, werner@apache.org <we...@apache.org> wrote:
> 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
>
>
--
Davanum Srinivas : http://wso2.com/blogs/
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
Re: svn commit: r345246 - /webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/CryptoFactory.java
Posted by Davanum Srinivas <da...@gmail.com>.
werner,
won't work with JDK1.3 :(
-- dims
On 11/17/05, werner@apache.org <we...@apache.org> wrote:
> 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
>
>
--
Davanum Srinivas : http://wso2.com/blogs/
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org