Package com.zb.mom.ww.mxgateway.client
Class MxGatewayAuthenticationException
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.MxGatewayAuthenticationException
- All Implemented Interfaces:
Serializable
Thrown when the gateway rejects a call because the supplied API key is
missing, malformed, or unrecognised (gRPC
UNAUTHENTICATED).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMxGatewayAuthenticationException(String message, Throwable cause) Creates a new authentication 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
-
MxGatewayAuthenticationException
Creates a new authentication exception.- Parameters:
message- human-readable description of the failurecause- underlying gRPC error reported by the transport
-