package com.zb.mom.ww.mxgateway.client;

/**
 * Thrown when the gateway accepts an API key but rejects a call because the
 * key lacks the required scope (gRPC {@code PERMISSION_DENIED}).
 */
public final class MxGatewayAuthorizationException extends MxGatewayException {
    /**
     * Creates a new authorization exception.
     *
     * @param message human-readable description of the failure
     * @param cause underlying gRPC error reported by the transport
     */
    public MxGatewayAuthorizationException(String message, Throwable cause) {
        super(message, cause);
    }
}
