dk.netarkivet.common.exceptions
Class BatchTermination

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by dk.netarkivet.common.exceptions.NetarkivetException
                  extended by dk.netarkivet.common.exceptions.BatchTermination
All Implemented Interfaces:
java.io.Serializable

public class BatchTermination
extends NetarkivetException

Exception to tell running batchjobs to terminate.

See Also:
Serialized Form

Constructor Summary
BatchTermination(java.lang.String message)
          Constructs new BatchTermination exception with the given message.
BatchTermination(java.lang.String message, java.lang.Throwable cause)
          Constructs new BatchTermination exception with the given message and cause.
 
Method Summary
 
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

BatchTermination

public BatchTermination(java.lang.String message)
Constructs new BatchTermination exception with the given message.

Parameters:
message - The exception message.

BatchTermination

public BatchTermination(java.lang.String message,
                        java.lang.Throwable cause)
Constructs new BatchTermination exception with the given message and cause.

Parameters:
message - The exception message.
cause - The cause of the exception.