Name

InvalidDestinationException

Synopsis

This exception is thrown when the provider encounters a destination that it can’t understand, or that is no longer accessible by the provider (e.g., a topic has been removed from a publish/subscribe context, or a queue associated with a user account has been removed because the account has been closed).

                  
public class InvalidDestinationException extends JMSException {
// Public Constructors
   public InvalidDestinationException( String reason);  
   public InvalidDestinationException(String reason, 
        String errorCode);  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.