org.isis.jaut
Class InvokeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.isis.jaut.InvokeException
All Implemented Interfaces:
java.io.Serializable

public class InvokeException
extends java.lang.RuntimeException

A runtime exception thrown by an Automation application.

See Also:
Serialized Form

Field Summary
protected  java.lang.String description
          A textual, human-readable description of the error intended for the customer.
protected  int errorCode
          An error code identifying the error.
protected  java.lang.String source
          A textual, human-readable name of the source of the the exception.
 
Constructor Summary
InvokeException(int errorCode, java.lang.String source, java.lang.String description)
          Creates an exception that occured during Dispatch.invoke(int, int, org.isis.jaut.Variant[], int[], org.isis.jaut.Variant).
 
Method Summary
 java.lang.String getMessage()
          Returns the detailed message string for this exception.
 
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
 

Field Detail

errorCode

protected int errorCode
An error code identifying the error.


source

protected java.lang.String source
A textual, human-readable name of the source of the the exception. Typically, this is the name of the application.


description

protected java.lang.String description
A textual, human-readable description of the error intended for the customer.

Constructor Detail

InvokeException

public InvokeException(int errorCode,
                       java.lang.String source,
                       java.lang.String description)
Creates an exception that occured during Dispatch.invoke(int, int, org.isis.jaut.Variant[], int[], org.isis.jaut.Variant). The fields of this object correspond to the fields of the EXCEPINFO Automation structure.

Parameters:
errorCode - an error code identifying the error.
source - the source of the exception.
description - the description of the error.
Method Detail

getMessage

public java.lang.String getMessage()
Returns the detailed message string for this exception.

Returns:
the detailed error message, if avaiable.