Package dk.netarkivet.common.exceptions
Class BatchTermination
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dk.netarkivet.common.exceptions.NetarkivetException
-
- dk.netarkivet.common.exceptions.BatchTermination
-
- All Implemented Interfaces:
Serializable
public class BatchTermination extends NetarkivetException
Exception to tell running batchjobs to terminate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchTermination(String message)
Constructs new BatchTermination exception with the given message.BatchTermination(String message, Throwable cause)
Constructs new BatchTermination exception with the given message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BatchTermination
public BatchTermination(String message)
Constructs new BatchTermination exception with the given message.- Parameters:
message
- The exception message.
-
-