gate.creole
Class ExecutionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--gate.util.GateException
                    |
                    +--gate.creole.ExecutionException
All Implemented Interfaces:
Serializable

public class ExecutionException
extends GateException

This exception indicates failure during run() invocations on ProcessingResources. These cannot be thrown at run time because run() is inheritted from runnable and doesn't throw anything.

See Also:
Serialized Form

Field Summary
private static boolean DEBUG
          Debug flag
(package private)  Exception exception
           
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
ExecutionException()
           
ExecutionException(Exception e)
           
ExecutionException(String s)
           
 
Method Summary
 Exception getException()
          Gets the exception that caused this ExecutionException to be raised.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG
Debug flag

exception

Exception exception
Constructor Detail

ExecutionException

public ExecutionException()

ExecutionException

public ExecutionException(String s)

ExecutionException

public ExecutionException(Exception e)
Method Detail

getException

public Exception getException()
Gets the exception that caused this ExecutionException to be raised. It is often the case that an ExecutionException is used to wrap another exception that occured during the execution of a Gate module. This method gives access to tha initial exception.