axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r552322 - /webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/rpc/receivers/RPCMessageReceiver.java
Date Sun, 01 Jul 2007 14:40:34 GMT
Author: dims
Date: Sun Jul  1 07:40:33 2007
New Revision: 552322

URL: http://svn.apache.org/viewvc?view=rev&rev=552322
Log:
Fix for AXIS2-2808 - RPCMessageReceiver logs business logic exceptions (=AxisFaults) using
ERROR level

Modified:
    webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/rpc/receivers/RPCMessageReceiver.java

Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/rpc/receivers/RPCMessageReceiver.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/rpc/receivers/RPCMessageReceiver.java?view=diff&rev=552322&r1=552321&r2=552322
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/rpc/receivers/RPCMessageReceiver.java
(original)
+++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/rpc/receivers/RPCMessageReceiver.java
Sun Jul  1 07:40:33 2007
@@ -140,10 +140,11 @@
                 msg = "Exception occurred while trying to invoke service method " +
                         method.getName();
             }
-            log.error(msg, e);
             if (cause instanceof AxisFault) {
+                log.debug(msg, cause);
                 throw (AxisFault)cause;
             }
+            log.error(msg, e);
             throw new AxisFault(msg, e);
         } catch(RuntimeException e) {
             throw AxisFault.makeFault(e);



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


Mime
View raw message