FileDocCategorySizeDatePackage
InvalidDestinationException.javaAPI DocGlassfish v2 API2944Fri May 04 22:36:16 BST 2007javax.jms

InvalidDestinationException

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.

version
26 August 1998
author
Rahul Sharma

Fields Summary
Constructors Summary
public InvalidDestinationException(String reason, String errorCode)
Constructs an InvalidDestinationException with the specified reason and error code.

param
reason a description of the exception
param
errorCode a string specifying the vendor-specific error code

    super(reason, errorCode);
  
public InvalidDestinationException(String reason)
Constructs an InvalidDestinationException with the specified reason. The error code defaults to null.

param
reason a description of the exception

    super(reason);
  
Methods Summary