Class MxGatewayAuthenticationException

All Implemented Interfaces:
Serializable

public final class MxGatewayAuthenticationException extends MxGatewayException
Thrown when the gateway rejects a call because the supplied API key is missing, malformed, or unrecognised (gRPC UNAUTHENTICATED).
See Also:
  • Constructor Details

    • MxGatewayAuthenticationException

      public MxGatewayAuthenticationException(String message, Throwable cause)
      Creates a new authentication exception.
      Parameters:
      message - human-readable description of the failure
      cause - underlying gRPC error reported by the transport