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

public class MxGatewayException extends RuntimeException
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 Details

    • MxGatewayException

      public MxGatewayException(String message)
      Creates a new exception with the supplied message.
      Parameters:
      message - human-readable description of the failure
    • MxGatewayException

      public MxGatewayException(String message, Throwable cause)
      Creates a new exception with the supplied message and underlying cause.
      Parameters:
      message - human-readable description of the failure
      cause - underlying error that triggered the failure