Author: beve
Date: 2009-09-23 04:31:30 -0400 (Wed, 23 Sep 2009)
New Revision: 806
Modified:
identity-federation/trunk/jboss-identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/handlers/JBossSTSSecurityHandler.java
Log:
A late change cause the handler to not deploy since the method annotated with
@PostConstruct though a checked exception.
Modified:
identity-federation/trunk/jboss-identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/handlers/JBossSTSSecurityHandler.java
===================================================================
---
identity-federation/trunk/jboss-identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/handlers/JBossSTSSecurityHandler.java 2009-09-23
07:35:32 UTC (rev 805)
+++
identity-federation/trunk/jboss-identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/handlers/JBossSTSSecurityHandler.java 2009-09-23
08:31:30 UTC (rev 806)
@@ -133,7 +133,7 @@
* @throws WebServiceException
*/
@PostConstruct
- public void createWSTrustClient() throws WebServiceException
+ public void createWSTrustClient()
{
if (wsTrustClient == null)
{
@@ -144,7 +144,7 @@
}
catch (final ParsingException e)
{
- throw new WebServiceException(e.getMessage(), e);
+ throw new IllegalStateException(e.getMessage(), e);
}
}
}
Show replies by thread