dk.netarkivet.common.exceptions
Class IllegalState

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.IllegalState
All Implemented Interfaces:
java.io.Serializable

public class IllegalState
extends NetarkivetException

An object was not in the right state for the operation attempted.

See Also:
Serialized Form

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

IllegalState

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

Parameters:
message - The detail message

IllegalState

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

Parameters:
message - The detail message
cause - The cause