edu.wpi.prc.templates.java.common
Class RPCHandlerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.wpi.prc.templates.java.common.RPCHandlerException
All Implemented Interfaces:
java.io.Serializable

public class RPCHandlerException
extends java.lang.Exception

RPCHandlerExceptions are thrown by an RPC client when the RPC handler being called on a remote host throws an Exception while executing an RPC. These Exceptions do not indicate connection errors or XML-RPC errors. They are used only when component-specific RPC handling code throws an Exception.

Author:
James Baldassari
See Also:
Serialized Form

Field Summary
private  java.lang.String message
           
static long serialVersionUID
           
 
Constructor Summary
RPCHandlerException()
          Default constructor.
RPCHandlerException(java.lang.String message)
          Constructor specifying an error message.
 
Method Summary
 java.lang.String toString()
          Returns a String representing this Exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

message

private java.lang.String message
Constructor Detail

RPCHandlerException

public RPCHandlerException()
Default constructor.


RPCHandlerException

public RPCHandlerException(java.lang.String message)
Constructor specifying an error message.

Parameters:
message - The error message.
Method Detail

toString

public java.lang.String toString()
Returns a String representing this Exception.

Overrides:
toString in class java.lang.Throwable
Returns:
The error string.