public class InvalidDestinationException extends JMSException
This exception must be thrown when a destination either is not understood by a provider or is no longer valid.
| Constructor and Description |
|---|
InvalidDestinationException(java.lang.String reason)
Constructs an
InvalidDestinationException with the specified reason. |
InvalidDestinationException(java.lang.String reason,
java.lang.String errorCode)
Constructs an
InvalidDestinationException with the specified reason and error code. |
InvalidDestinationException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception linkedException)
Constructs an
InvalidDestinationException with the specified reason, error code
and linked exception. |
getErrorCode, getLinkedException, setLinkedExceptionpublic InvalidDestinationException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception linkedException)
InvalidDestinationException with the specified reason, error code
and linked exception.reason - a description of the exceptionerrorCode - a string specifying the vendor-specific error codelinkedException - a linked exceptionpublic InvalidDestinationException(java.lang.String reason,
java.lang.String errorCode)
InvalidDestinationException with the specified reason and error code.reason - a description of the exceptionerrorCode - a string specifying the vendor-specific error codepublic InvalidDestinationException(java.lang.String reason)
InvalidDestinationException with the specified reason. The error code defaults to null.reason - a description of the exception