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. |
getErrorCode, getLinkedException, setLinkedException
public 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