Class IllegalPermutationStateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cicirello.permutations.IllegalPermutationStateException
All Implemented Interfaces:
Serializable

public class IllegalPermutationStateException extends RuntimeException
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 Details

    • IllegalPermutationStateException

      public IllegalPermutationStateException(String message)
      Construct an IllegalPermutationStateException without specifying a cause.
      Parameters:
      message - A descriptive message about the exception that is thrown.
    • IllegalPermutationStateException

      public IllegalPermutationStateException(String message, Throwable cause)
      Construct an IllegalPermutationStateException.
      Parameters:
      message - A descriptive message about the exception that is thrown.
      cause - The cause of the exception.