Class QueueManagerConnectionException

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

public class QueueManagerConnectionException extends 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:
  • Field Details

  • Constructor Details

    • QueueManagerConnectionException

      public QueueManagerConnectionException(String message, 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 Details

    • 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 String getMessageID()
      Get the message ID
      Returns:
      the message ID