Author: thomas.diesler(a)jboss.com
Date: 2007-08-14 06:04:06 -0400 (Tue, 14 Aug 2007)
New Revision: 4355
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/InvocationHandler.java
Log:
[JBWS-1670] SunRI client does not throw UserException. Do not unwrap
InvocationTargetException
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/InvocationHandler.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/InvocationHandler.java 2007-08-14
09:46:11 UTC (rev 4354)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/InvocationHandler.java 2007-08-14
10:04:06 UTC (rev 4355)
@@ -21,7 +21,6 @@
*/
package org.jboss.wsf.spi.invocation;
-import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import javax.management.MBeanException;
@@ -53,13 +52,6 @@
throw ((MBeanException)th).getTargetException();
}
- if (th instanceof InvocationTargetException)
- {
- // Unwrap the throwable raised by the service endpoint implementation
- Throwable targetEx = ((InvocationTargetException)th).getTargetException();
- handleInvocationException(targetEx);
- }
-
if (th instanceof Exception)
{
throw (Exception)th;