This exception must be thrown when a destination either is not understood by a provider or is no longer valid.
Constructs an InvalidDestinationException with the specified reason and error code.paramreason a description of the exceptionparamerrorCode a string specifying the vendor-specific error code super(reason, errorCode);
InvalidDestinationException
super(reason, errorCode);
Constructs an InvalidDestinationException with the specified reason. The error code defaults to null.paramreason a description of the exception super(reason);
super(reason);