Class QueueManagerConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.mq.explorer.ui.extensions.QueueManagerConnectionException
- All Implemented Interfaces:
Serializable
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueueManagerConnectionException
(String message, String msgID, int cc, int rc) Constructor -
Method Summary
Modifier and TypeMethodDescriptionint
Get the completion code.Get the message IDint
Get the reason code.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
COPYRIGHT_NOTICE
Common copyright notice- See Also:
-
SCCSID
CMVC descriptors - expanded during extraction- See Also:
-
-
Constructor Details
-
QueueManagerConnectionException
Constructor- Parameters:
message
- is the translated message textmsgID
- is the AMQ message idcc
- is the WMQ completion coderc
- 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
Get the message ID- Returns:
- the message ID
-