public class IllegalStateRuntimeException extends JMSRuntimeException
IllegalStateRuntimeException to be thrown. For example, this exception must be thrown if
JMSContext.commit is called on a non-transacted session.| Constructor and Description |
|---|
IllegalStateRuntimeException(java.lang.String detailMessage)
Constructs a
IllegalStateRuntimeException with the specified detail message |
IllegalStateRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
Constructs a
IllegalStateRuntimeException with the specified detail message and error code. |
IllegalStateRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
IllegalStateRuntimeException with the specified detail message, error code and cause |
getErrorCodepublic IllegalStateRuntimeException(java.lang.String detailMessage)
IllegalStateRuntimeException with the specified detail messagedetailMessage - a description of the exceptionpublic IllegalStateRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
IllegalStateRuntimeException with the specified detail message and error code.detailMessage - a description of the exceptionerrorCode - a provider-specific error codepublic IllegalStateRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
IllegalStateRuntimeException 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