Class MxGatewayAuthorizationException

All Implemented Interfaces:
Serializable

public final class MxGatewayAuthorizationException extends MxGatewayException
Thrown when the gateway accepts an API key but rejects a call because the key lacks the required scope (gRPC PERMISSION_DENIED).
See Also:
  • Constructor Details

    • MxGatewayAuthorizationException

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