Module ibm.jzos
Package com.ibm.jzos

Class EnqueueException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EnqueueException​(java.lang.String msg, int rc)
      Construct an instance
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EnqueueException

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