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

/**
 * Thrown when the gateway rejects a call because the supplied API key is
 * missing, malformed, or unrecognised (gRPC {@code UNAUTHENTICATED}).
 */
public final class MxGatewayAuthenticationException extends MxGatewayException {
    /**
     * Creates a new authentication exception.
     *
     * @param message human-readable description of the failure
     * @param cause underlying gRPC error reported by the transport
     */
    public MxGatewayAuthenticationException(String message, Throwable cause) {
        super(message, cause);
    }
}
