Class HankoAuthenticationException

All Implemented Interfaces:
Serializable

public class HankoAuthenticationException extends HankoApiException
Exception occurring when requests to the Hanko API cannot be authenticated (i.e. have a 401 status code).
See Also:
Serialized Form
  • Constructor Details

    • HankoAuthenticationException

      public HankoAuthenticationException(String message)
      Construct a new HankoAuthenticationException with the specified detail message.
      Parameters:
      message - the detail message
    • HankoAuthenticationException

      public HankoAuthenticationException(String message, Integer status, String requestPath, String content)
      Construct a new HankoAuthenticationException with the specified detail message, the Hanko API response status, the original request path and the Hanko API response content.
      Parameters:
      message - the detail message
      status - the Hanko API HTTP response status
      requestPath - the original request path
      content - the Hanko API response content