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

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
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;
         }
     }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.