Class InvalidStateException

All Implemented Interfaces:
Serializable

public class InvalidStateException extends ApplicationException
Errors related to operations called in wrong component state. For instance, business calls when component is not ready
See Also:
  • Constructor Details

    • InvalidStateException

      public InvalidStateException()
      Creates an error instance and assigns its values.
      See Also:
    • InvalidStateException

      public InvalidStateException(String correlationId, String code, String message)
      Creates an error instance and assigns its values.
      Parameters:
      correlationId - (optional) a unique transaction id to trace execution through call chain.
      code - (optional) a unique error code. Default: "UNKNOWN"
      message - (optional) a human-readable description of the error.
      See Also: