uk.ac.starlink.task
Class ExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.ac.starlink.task.TaskException
              extended by uk.ac.starlink.task.ExecutionException
All Implemented Interfaces:
Serializable

public class ExecutionException
extends TaskException

Exception generated when a task does not complete correctly for some known reason.

See Also:
Serialized Form

Constructor Summary
ExecutionException()
           
ExecutionException(String message)
           
ExecutionException(String message, int errorCode)
           
ExecutionException(String message, Throwable cause)
           
ExecutionException(Throwable cause)
           
 
Method Summary
 int getErrorCode()
           
 void setErrorCode(int code)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

ExecutionException

public ExecutionException()

ExecutionException

public ExecutionException(String message)

ExecutionException

public ExecutionException(String message,
                          int errorCode)

ExecutionException

public ExecutionException(String message,
                          Throwable cause)

ExecutionException

public ExecutionException(Throwable cause)
Method Detail

setErrorCode

public void setErrorCode(int code)

getErrorCode

public int getErrorCode()


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.