Package com.exedio.cope.util
Class JobStop
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.exedio.cope.util.JobStop
-
- All Implemented Interfaces:
Serializable
public class JobStop extends RuntimeException
Signals, that a job is to be terminated as soon as possible, when callingJobContext.stopIfRequested()
.- Author:
- Ralf Wiebicke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JobStop()
Deprecated.UseJobStop(String)
instead.JobStop(String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JobStop
public JobStop(String message)
- Parameters:
message
- Should contain detailed information about the request to stop the job
-
JobStop
@Deprecated public JobStop()
Deprecated.UseJobStop(String)
instead.
-
-