Package jakarta.jms

Class InvalidDestinationRuntimeException

All Implemented Interfaces:
Serializable

public class InvalidDestinationRuntimeException extends JMSRuntimeException
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.
Since:
JMS 2.0
See Also:
  • Constructor Details

    • InvalidDestinationRuntimeException

      public InvalidDestinationRuntimeException(String detailMessage)
      Constructs a InvalidDestinationRuntimeException with the specified detail message
      Parameters:
      detailMessage - a description of the exception
    • InvalidDestinationRuntimeException

      public InvalidDestinationRuntimeException(String detailMessage, String errorCode)
      Constructs a InvalidDestinationRuntimeException with the specified detail message and error code.
      Parameters:
      detailMessage - a description of the exception
      errorCode - a provider-specific error code
    • InvalidDestinationRuntimeException

      public InvalidDestinationRuntimeException(String detailMessage, String errorCode, Throwable cause)
      Constructs a InvalidDestinationRuntimeException with the specified detail message, error code and cause
      Parameters:
      detailMessage - a description of the exception
      errorCode - a provider-specific error code
      cause - the underlying cause of this exception