Uses of Class
jakarta.jms.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
Modifier and TypeClassDescriptionclass
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 aIllegalStateRuntimeException
to be thrown.class
This 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 aInvalidClientIDException
to be thrown.class
This 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 aInvalidDestinationException
to be thrown.class
This 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 aInvalidSelectorException
to be thrown.class
This 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 aJMSSecurityException
to be thrown.class
This 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 aMessageFormatException
to be thrown.class
This unchecked exception must be thrown when a Jakarta Messaging client attempts to write to a read-only message.class
This unchecked exception is thrown when a provider is unable to allocate the resources required by a method.class
This unchecked exception is thrown when an operation is invalid because a transaction is in progress.class
This unchecked exception must be thrown when a call toJMSContext.commit
results in a rollback of the current transaction.Modifier and TypeMethodDescriptionJMSConsumer.getMessageListener()
Gets theJMSConsumer
'sMessageListener
.void
JMSConsumer.setMessageListener
(MessageListener listener) Sets theJMSConsumer
'sMessageListener
.