Class InvalidStateException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoTransactionException

public class InvalidStateException extends SysException
This exception is used to indicate that a state was encountered that was not anticipated. Exceptions of this kind are usually the result of an assertion failure.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • InvalidStateException

      public InvalidStateException(String message)
      Basic constructor with only a message explaining the cause of the error.
      Parameters:
      message - The message explaining the error that occurred.
    • InvalidStateException

      public InvalidStateException(String message, Throwable cause)
      Constructor with both a message and an exception explaining the cause of the error.
      Parameters:
      message - The message explaining the error that occurred.
      cause - The original cause of the error.