Class StateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
se.idsec.signservice.integration.core.error.SignServiceIntegrationException
se.idsec.signservice.integration.state.StateException
All Implemented Interfaces:
Serializable

public class StateException extends se.idsec.signservice.integration.core.error.SignServiceIntegrationException
Exception class for state errors.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
See Also:
  • Constructor Details

    • StateException

      public StateException(@Nonnull se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message)
      Constructor.
      Parameters:
      code - the error code (within the given category)
      message - the error message
    • StateException

      public StateException(@Nonnull se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message, Throwable cause)
      Constructor.
      Parameters:
      code - the error code (within the given category)
      message - the error message
      cause - the cause of the error
  • Method Details

    • getCategory

      protected se.idsec.signservice.integration.core.error.ErrorCode.Category getCategory()
      Overrides:
      getCategory in class se.idsec.signservice.integration.core.error.SignServiceIntegrationException
    • getHttpStatus

      public int getHttpStatus()
      Specified by:
      getHttpStatus in class se.idsec.signservice.integration.core.error.SignServiceIntegrationException