java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cicirello.permutations.IllegalPermutationStateException
- All Implemented Interfaces:
Serializable
This is a
RuntimeException
that is thrown by certain methods of the Permutation
class to indicate that the Permutation object's state is invalid, and any subsequent calls to
methods on that object may be unpredictable.- See Also:
-
Constructor Summary
ConstructorDescriptionIllegalPermutationStateException
(String message) Construct an IllegalPermutationStateException without specifying a cause.IllegalPermutationStateException
(String message, Throwable cause) Construct an IllegalPermutationStateException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalPermutationStateException
Construct an IllegalPermutationStateException without specifying a cause.- Parameters:
message
- A descriptive message about the exception that is thrown.
-
IllegalPermutationStateException
Construct an IllegalPermutationStateException.- Parameters:
message
- A descriptive message about the exception that is thrown.cause
- The cause of the exception.
-