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

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, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.