public class MessageNotWriteableRuntimeException extends JMSRuntimeException
Constructor and Description |
---|
MessageNotWriteableRuntimeException(java.lang.String reason)
Constructs a
MessageNotWriteableRuntimeException with the specified reason. |
MessageNotWriteableRuntimeException(java.lang.String reason,
java.lang.String errorCode)
Constructs a
MessageNotWriteableRuntimeException with the specified reason and error code. |
MessageNotWriteableRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
MessageNotWriteableRuntimeException with the specified detail message, error code and cause |
getErrorCode
public MessageNotWriteableRuntimeException(java.lang.String reason, java.lang.String errorCode)
MessageNotWriteableRuntimeException
with the specified reason and error code.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codepublic MessageNotWriteableRuntimeException(java.lang.String reason)
MessageNotWriteableRuntimeException
with the specified reason. The error code defaults to null.reason
- a description of the exceptionpublic MessageNotWriteableRuntimeException(java.lang.String detailMessage, java.lang.String errorCode, java.lang.Throwable cause)
MessageNotWriteableRuntimeException
with the specified detail message, error code and causedetailMessage
- a description of the exceptionerrorCode
- a provider-specific error codecause
- the underlying cause of this exception