dk.netarkivet.common.exceptions
Class NetarkivetException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ArgumentNotValid, BatchTermination, ForwardedToErrorPage, IllegalState, IOFailure, NotImplementedException, PermissionDenied, UnknownID

public abstract class NetarkivetException
extends java.lang.RuntimeException

Base exception for all Netarkivet exceptions. Note that RuntimeException is extended

See Also:
Serialized Form

Constructor Summary
NetarkivetException(java.lang.String message)
          Constructs new NetarkivetException with the specified detail message.
NetarkivetException(java.lang.String message, java.lang.Throwable cause)
          Constructs new NetarkivetException with the specified detail 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

NetarkivetException

public NetarkivetException(java.lang.String message)
Constructs new NetarkivetException with the specified detail message.

Parameters:
message - The detail message

NetarkivetException

public NetarkivetException(java.lang.String message,
                           java.lang.Throwable cause)
Constructs new NetarkivetException with the specified detail message and cause.

Parameters:
message - The detail message
cause - The cause