Package com.zb.mom.ww.mxgateway.client
Class MxGatewayException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zb.mom.ww.mxgateway.client.MxGatewayException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MxGatewayAuthenticationException,MxGatewayAuthorizationException,MxGatewayCommandException,MxGatewaySessionException,MxGatewayWorkerException
Base unchecked exception thrown by the MXAccess Gateway Java client.
All gateway-specific failures derive from this type so callers can catch a single supertype regardless of whether the cause was a transport error, protocol-level failure, or MXAccess-side problem.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMxGatewayException(String message) Creates a new exception with the supplied message.MxGatewayException(String message, Throwable cause) Creates a new exception with the supplied message and underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MxGatewayException
Creates a new exception with the supplied message.- Parameters:
message- human-readable description of the failure
-
MxGatewayException
Creates a new exception with the supplied message and underlying cause.- Parameters:
message- human-readable description of the failurecause- underlying error that triggered the failure
-