[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/socket ...
Ron Sigal
ron_sigal at yahoo.com
Fri May 18 22:44:27 EDT 2007
User: rsigal
Date: 07/05/18 22:44:27
Modified: src/main/org/jboss/remoting/transport/socket Tag:
remoting_2_x SocketClientInvoker.java
Log:
JBREM-714: Added log messages to handleException().
Revision Changes Path
No revision
No revision
1.38.2.9 +3 -2 JBossRemoting/src/main/org/jboss/remoting/transport/socket/SocketClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SocketClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/SocketClientInvoker.java,v
retrieving revision 1.38.2.8
retrieving revision 1.38.2.9
diff -u -b -r1.38.2.8 -r1.38.2.9
--- SocketClientInvoker.java 21 Feb 2007 09:42:34 -0000 1.38.2.8
+++ SocketClientInvoker.java 19 May 2007 02:44:27 -0000 1.38.2.9
@@ -41,7 +41,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
- * @version $Revision: 1.38.2.8 $
+ * @version $Revision: 1.38.2.9 $
*/
public class SocketClientInvoker extends MicroSocketClientInvoker
{
@@ -106,7 +106,6 @@
protected Object handleException(Exception ex, SocketWrapper socketWrapper)
throws ClassNotFoundException, MarshalException
{
- log.error("Got marshalling exception, exiting", ex);
if (ex instanceof ClassNotFoundException)
{
//TODO: -TME Add better exception handling for class not found exception
@@ -115,10 +114,12 @@
}
else if (ex instanceof SocketTimeoutException)
{
+ log.debug("Got SocketTimeoutException, exiting", ex);
throw new MarshalException("Socket timed out. Waited " + socketWrapper.getTimeout() + " milliseconds for response while calling on " +
getLocator(), ex);
}
+ log.error("Got marshalling exception, exiting", ex);
throw new MarshalException("Failed to communicate. Problem during marshalling/unmarshalling", ex);
}
More information about the jboss-cvs-commits
mailing list