You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vg...@apache.org on 2007/04/06 04:22:02 UTC

svn commit: r526028 - /xml/xindice/trunk/java/src/org/apache/xindice/server/rpc/RPCMessageInterface.java

Author: vgritsenko
Date: Thu Apr  5 19:22:01 2007
New Revision: 526028

URL: http://svn.apache.org/viewvc?view=rev&rev=526028
Log:
log exception

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/server/rpc/RPCMessageInterface.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/server/rpc/RPCMessageInterface.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/server/rpc/RPCMessageInterface.java?view=diff&rev=526028&r1=526027&r2=526028
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/server/rpc/RPCMessageInterface.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/server/rpc/RPCMessageInterface.java Thu Apr  5 19:22:01 2007
@@ -59,6 +59,12 @@
             }
 
             throw new XmlRpcException(ErrorCodes.VENDOR_ERROR * FaultCodes.MAX_CODE + e.faultCode, e.getMessage());
+        } catch (Exception e) {
+            if (log.isDebugEnabled()) {
+                log.debug("Exception while processing XmlRpc command " + type, e);
+            }
+
+            throw e;
         }
     }
 }