com.ibm.mq.explorer.ui.extensions

Class QueueManagerConnectionException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.ibm.mq.explorer.ui.extensions.QueueManagerConnectionException
  • All Implemented Interfaces:
    java.io.Serializable


    public class QueueManagerConnectionException
    extends java.lang.Exception
    This exception is returned by the QueueManagerConnections class to inform the calling application of any errors. The exception should contain enough information for the caller to inform the user of the error and any steps they can take to rectify the problem.

    The message text given to this exception should already be formatted and translated, although there is no guarantee a caught exception will contain translated text.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT_NOTICE
      Common copyright notice
      static java.lang.String SCCSID
      CMVC descriptors - expanded during extraction
    • Constructor Summary

      Constructors 
      Constructor and Description
      QueueManagerConnectionException(java.lang.String message, java.lang.String msgID, int cc, int rc)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getCompCode()
      Get the completion code.
      java.lang.String getMessageID()
      Get the message ID
      int getReasonCode()
      Get the reason code.
      • Methods inherited from class java.lang.Throwable

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

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

      • COPYRIGHT_NOTICE

        public static final java.lang.String COPYRIGHT_NOTICE
        Common copyright notice
        See Also:
        Constant Field Values
      • SCCSID

        public static final java.lang.String SCCSID
        CMVC descriptors - expanded during extraction
        See Also:
        Constant Field Values
    • Constructor Detail

      • QueueManagerConnectionException

        public QueueManagerConnectionException(java.lang.String message,
                                               java.lang.String msgID,
                                               int cc,
                                               int rc)
        Constructor
        Parameters:
        message - is the translated message text
        msgID - is the AMQ message id
        cc - is the WMQ completion code
        rc - is the WMQ reason code
    • Method Detail

      • getCompCode

        public int getCompCode()
        Get the completion code.
        Returns:
        the completion code
      • getReasonCode

        public int getReasonCode()
        Get the reason code.
        Returns:
        the reason code
      • getMessageID

        public java.lang.String getMessageID()
        Get the message ID
        Returns:
        the message ID