Top Description Fields Constructors Methods
jakarta.jms

public Class InvalidDestinationRuntimeException

extends JMSRuntimeException
Class Inheritance

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
Version
Jakarta Messaging 2.0

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides jakarta.jms.JMSRuntimeException.serialVersionUID.

Explicitly set serialVersionUID to be the same as the implicit serialVersionUID of the Jakarta Messaging 2.0 version

Constructor Summary

AccessConstructor and Description
public
InvalidDestinationRuntimeException(String
a description of the exception
detailMessage
)

Constructs a InvalidDestinationRuntimeException with the specified detail message

public
InvalidDestinationRuntimeException(String
a description of the exception
detailMessage
,
String
a provider-specific error code
errorCode
)

Constructs a InvalidDestinationRuntimeException with the specified detail message and error code.

public
InvalidDestinationRuntimeException(String
a description of the exception
detailMessage
,
String
a provider-specific error code
errorCode
,
Throwable
the underlying cause of this exception
cause
)

Constructs a InvalidDestinationRuntimeException with the specified detail message, error code and cause

Method Summary

Inherited from jakarta.jms.JMSRuntimeException:
getErrorCode

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.jms.JMSRuntimeException.serialVersionUID.

Explicitly set serialVersionUID to be the same as the implicit serialVersionUID of the Jakarta Messaging 2.0 version

Constructor Detail

InvalidDestinationRuntimeExceptionback to summary
public InvalidDestinationRuntimeException(String detailMessage)

Constructs a InvalidDestinationRuntimeException with the specified detail message

Parameters
detailMessage:String

a description of the exception

InvalidDestinationRuntimeExceptionback to summary
public InvalidDestinationRuntimeException(String detailMessage, String errorCode)

Constructs a InvalidDestinationRuntimeException with the specified detail message and error code.

Parameters
detailMessage:String

a description of the exception

errorCode:String

a provider-specific error code

InvalidDestinationRuntimeExceptionback to summary
public InvalidDestinationRuntimeException(String detailMessage, String errorCode, Throwable cause)

Constructs a InvalidDestinationRuntimeException with the specified detail message, error code and cause

Parameters
detailMessage:String

a description of the exception

errorCode:String

a provider-specific error code

cause:Throwable

the underlying cause of this exception