SMILA 1.0 API documentation

org.eclipse.smila.jobmanager.exceptions
Class JobManagerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.smila.utils.MaybeRecoverableException
              extended by org.eclipse.smila.jobmanager.exceptions.JobManagerException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConfigNotFoundException, IllegalJobStateException, InvalidConfigException, JobDependencyException, JobRunModeNotAllowedException, PersistenceException, RunStorageException, TaskGeneratorException

public class JobManagerException
extends MaybeRecoverableException

Base class for exception thrown by JobManager methods. There may be subclasses to distinguish between different error types. Contains a flag to describe if it makes sense for the client to retry the operation.

See Also:
Serialized Form

Constructor Summary
JobManagerException(java.lang.String message)
          create exception with description.
JobManagerException(java.lang.String message, boolean recoverable)
          create exception with description.
JobManagerException(java.lang.String message, java.lang.Throwable cause)
          create exception with description and cause.
JobManagerException(java.lang.String message, java.lang.Throwable cause, boolean recoverable)
          create exception with description and cause.
 
Method Summary
static boolean isRecoverableCause(java.lang.Throwable cause)
          auto-detection of causes that should be recoverable.
 
Methods inherited from class org.eclipse.smila.utils.MaybeRecoverableException
isRecoverable
 
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

JobManagerException

public JobManagerException(java.lang.String message,
                           java.lang.Throwable cause)
create exception with description and cause.


JobManagerException

public JobManagerException(java.lang.String message)
create exception with description.


JobManagerException

public JobManagerException(java.lang.String message,
                           java.lang.Throwable cause,
                           boolean recoverable)
create exception with description and cause.


JobManagerException

public JobManagerException(java.lang.String message,
                           boolean recoverable)
create exception with description.

Method Detail

isRecoverableCause

public static boolean isRecoverableCause(java.lang.Throwable cause)
auto-detection of causes that should be recoverable.


SMILA 1.0 API documentation