Package dk.netarkivet.common.exceptions
Class IllegalState
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dk.netarkivet.common.exceptions.NetarkivetException
-
- 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
Constructors Constructor Description 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.
-
-
-
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 messagecause
- The cause
-
-