Package jakarta.jms

Class IllegalStateRuntimeException

java.lang.Object
All Implemented Interfaces:
Serializable

public class IllegalStateRuntimeException extends JMSRuntimeException
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.
Since:
JMS 2.0
Version:
Jakarta Messaging 2.0
See Also: