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(String detailMessage)
Constructs a
IllegalStateRuntimeException with the specified detail message |
IllegalStateRuntimeException(String detailMessage,
String errorCode)
Constructs a
IllegalStateRuntimeException with the specified detail message
and error code. |
IllegalStateRuntimeException(String detailMessage,
String errorCode,
Throwable cause)
Constructs a
IllegalStateRuntimeException with the specified detail message,
error code and cause |
getErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalStateRuntimeException(String detailMessage)
IllegalStateRuntimeException with the specified detail messagedetailMessage - a description of the exceptionpublic IllegalStateRuntimeException(String detailMessage, String errorCode)
IllegalStateRuntimeException with the specified detail message
and error code.detailMessage - a description of the exceptionerrorCode - a provider-specific error codepublic IllegalStateRuntimeException(String detailMessage, String errorCode, 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 exceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.