public class MQDataException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
int |
completionCode
WebSphere MQ completion code giving rise to the error.
|
java.lang.Object |
exceptionSource
The object instance that threw the exception.
|
static java.io.OutputStreamWriter |
log
Historically this represented the stream to which exceptions were be logged.
|
int |
reasonCode
WebSphere MQ reason code describing the error.
|
| Constructor and Description |
|---|
MQDataException(int completionCode,
int reasonCode,
java.lang.Object source)
Constructs a new MQDataException object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCompCode()
Gets the MQSeries completion code
|
java.lang.String |
getErrorCode()
Gets the message id which is the non-translatable prefix to each message.
|
java.lang.String |
getMessage()
Gets the message detail.
|
int |
getReason()
Gets the MQSeries reason code
|
public static volatile java.io.OutputStreamWriter log
This logging was determined to be unnecessary and this field no longer has any effect. It is retained purely for compatibility with existing code which may expect to set it.
public int completionCode
public int reasonCode
public transient java.lang.Object exceptionSource
public MQDataException(int completionCode,
int reasonCode,
java.lang.Object source)
completionCode - the WebSphere MQ completion codereasonCode - the WebSphere MQ reason codesource - the object in which the error occurredpublic int getCompCode()
public java.lang.String getErrorCode()
public int getReason()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable