[jboss-remoting-commits] JBoss Remoting SVN: r4005 - remoting2/branches/2.x/src/main/org/jboss/remoting.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Fri Apr 18 02:01:26 EDT 2008
Author: ron.sigal at jboss.com
Date: 2008-04-18 02:01:26 -0400 (Fri, 18 Apr 2008)
New Revision: 4005
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/InvocationFailureException.java
Log:
JBREM-964: Is now derived from MarshalException.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/InvocationFailureException.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/InvocationFailureException.java 2008-04-18 03:43:57 UTC (rev 4004)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/InvocationFailureException.java 2008-04-18 06:01:26 UTC (rev 4005)
@@ -22,8 +22,8 @@
*/
package org.jboss.remoting;
-import java.io.IOException;
import java.lang.Exception;
+import java.rmi.MarshalException;
/**
* Indicates a client invoker was unable to perform an invocation.
@@ -34,20 +34,19 @@
* Copyright Dec 29, 2007
* </p>
*/
-public class InvocationFailureException extends IOException
+public class InvocationFailureException extends MarshalException
{
/** The serialVersionUID */
private static final long serialVersionUID = -5852787672018746296L;
public InvocationFailureException()
{
- super();
+ super("");
}
public InvocationFailureException(Exception e)
{
- super();
- initCause(e);
+ super("", e);
}
public InvocationFailureException(String message)
@@ -57,8 +56,7 @@
public InvocationFailureException(String message, Exception e)
{
- super(message);
- initCause(e);
+ super(message, e);
}
}
More information about the jboss-remoting-commits
mailing list