Class MxAccessException

All Implemented Interfaces:
Serializable

public final class MxAccessException extends MxGatewayCommandException
Thrown when the worker reports an MXAccess COM-side failure. Distinguishes MXAccess errors (non-zero HResult or unsuccessful MxStatusProxy) from other gateway protocol failures.
See Also:
  • Constructor Details

    • MxAccessException

      public MxAccessException(String operation, MxaccessGateway.ProtocolStatus protocolStatus, MxaccessGateway.MxCommandReply reply)
      Creates a new MXAccess exception with an explicit protocol status.
      Parameters:
      operation - human-readable name of the failing operation
      protocolStatus - protocol status reported by the gateway
      reply - raw command reply containing the MXAccess failure detail
    • MxAccessException

      public MxAccessException(String operation, MxaccessGateway.MxCommandReply reply)
      Creates a new MXAccess exception derived from a command reply.
      Parameters:
      operation - human-readable name of the failing operation
      reply - raw command reply; the protocol status is taken from this reply when present