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

    Modifier and Type
    Class
    Description
    class 
    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.
    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 a InvalidClientIDException 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 a InvalidDestinationException 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 a InvalidSelectorException 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 a JMSSecurityException 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 a MessageFormatException 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 to JMSContext.commit results in a rollback of the current transaction.
    Methods in jakarta.jms that throw JMSRuntimeException
    Modifier and Type
    Method
    Description
    JMSConsumer.getMessageListener()
    Gets the JMSConsumer's MessageListener.
    void
    JMSConsumer.setMessageListener(MessageListener listener)
    Sets the JMSConsumer's MessageListener.