context.arch
Class MethodException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycontext.arch.MethodException
All Implemented Interfaces:
java.io.Serializable

public class MethodException
extends java.lang.Exception

This class implements the MethodException. It is thrown when a specified RPC has an error during execution.

See Also:
InvalidMethodException, Serialized Form

Constructor Summary
MethodException()
          Basic constructor for MethodException with no message
MethodException(java.lang.String message)
          Constructor for MethodException with error message
 
Method Summary
 java.lang.String getMessage()
          Returns the error message
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodException

public MethodException()
Basic constructor for MethodException with no message


MethodException

public MethodException(java.lang.String message)
Constructor for MethodException with error message

Parameters:
message - Error message
Method Detail

getMessage

public java.lang.String getMessage()
Returns the error message

Returns:
the error message