Uses of Class
jakarta.jms.JMSRuntimeException
Packages that use JMSRuntimeException
Package
Description
The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
-
Uses of JMSRuntimeException in jakarta.jms
Subclasses of JMSRuntimeException in jakarta.jmsModifier and TypeClassDescriptionclassThis 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 aIllegalStateRuntimeExceptionto be thrown.classThis unchecked exception must be thrown when a client attempts to set a connection's client ID to a value that is rejected by a provider, and the method signature does not permit aInvalidClientIDExceptionto be thrown.classThis unchecked exception must be thrown when a destination either is not understood by a provider or is no longer valid, and the method signature does not permit aInvalidDestinationExceptionto be thrown.classThis unchecked exception must be thrown when a Jakarta Messaging client attempts to give a provider a message selector with invalid syntax, and the method signature does not permit aInvalidSelectorExceptionto be thrown.classThis unchecked exception must be thrown when a provider rejects a user name/password submitted by a client, or for any case where a security restriction prevents a method from completing, and the method signature does not permit aJMSSecurityExceptionto be thrown.classThis unchecked exception must be thrown when a Jakarta Messaging application attempts to use a data type not supported by a message or attempts to read data in a message as the wrong type, and the method signature does not permit aMessageFormatExceptionto be thrown.classThis unchecked exception must be thrown when a Jakarta Messaging client attempts to write to a read-only message.classThis unchecked exception is thrown when a provider is unable to allocate the resources required by a method.classThis unchecked exception is thrown when an operation is invalid because a transaction is in progress.classThis unchecked exception must be thrown when a call toJMSContext.commitresults in a rollback of the current transaction.Methods in jakarta.jms that throw JMSRuntimeExceptionModifier and TypeMethodDescriptionJMSConsumer.getMessageListener()Gets theJMSConsumer'sMessageListener.voidJMSConsumer.setMessageListener(MessageListener listener) Sets theJMSConsumer'sMessageListener.