com.accendia.iris.client
Class InvocationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.accendia.iris.client.InvocationException
All Implemented Interfaces:
java.io.Serializable

public class InvocationException
extends java.lang.Exception

Thrown when a remote invocation can not be completed. See IReturnCodes for the conditions when this can occur.

See Also:
Serialized Form

Constructor Summary
InvocationException(int code)
          Creates an invocation exception object
 
Method Summary
 int getCode()
          Returns the error code that is one of the values defined in IReturnCodes.
 java.lang.String getMessage()
           
 
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

InvocationException

public InvocationException(int code)
Creates an invocation exception object

Parameters:
code - Code describing the error condition.
Method Detail

getCode

public int getCode()
Returns the error code that is one of the values defined in IReturnCodes.

Returns:
The error code

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable
Returns:
The the description for the error code.