Package com.zb.mom.ww.mxgateway.client
Class MxGatewayAuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zb.mom.ww.mxgateway.client.MxGatewayException
com.zb.mom.ww.mxgateway.client.MxGatewayAuthorizationException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionMxGatewayAuthorizationException(String message, Throwable cause) Creates a new authorization exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MxGatewayAuthorizationException
Creates a new authorization exception.- Parameters:
message- human-readable description of the failurecause- underlying gRPC error reported by the transport
-