|
Oracle GlassFish(tm) Server Message Queue 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jms.JMSRuntimeException
javax.jms.IllegalStateRuntimeException
public class IllegalStateRuntimeException
This unchecked exception is thrown when a method is invoked at an illegal or
inappropriate time or if the provider is not in an appropriate state for the
requested operation, and the method signature does not permit a
IllegalStateRuntimeException
to be thrown. For example, this
exception must be thrown if JMSContext.commit
is called on a
non-transacted session.
Constructor Summary | |
---|---|
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 |
Method Summary |
---|
Methods inherited from class javax.jms.JMSRuntimeException |
---|
getErrorCode |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IllegalStateRuntimeException(java.lang.String detailMessage)
IllegalStateRuntimeException
with the specified detail message
detailMessage
- 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 cause
detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codecause
- the underlying cause of this exception
|
Oracle GlassFish(tm) Server Message Queue 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |