Module ibm.jzos
Package com.ibm.jzos

Class EnqueueException

All Implemented Interfaces:
Serializable

public class EnqueueException extends RcException
Exception class thrown by class Enqueue and its native code.

This is a no-value-add subclass of RcException, but is useful for distinguishing Enqueue exceptions from other RcExceptions.

Since:
2.4.0 Enqueue was changed to throw these rather than RcExceptions, but the Enqueue method prototypes still specify RcException, so as not to change the interface and break existing client code.
See Also:
  • Constructor Details

    • EnqueueException

      public EnqueueException(String msg, int rc)
      Construct an instance
      Parameters:
      msg - the message
      rc - the return code