}
catch (AMQInvalidArgumentException ise)
{
JMSException jmse = new InvalidSelectorException(ise.getMessage());
jmse.setLinkedException(ise);
jmse.initCause(ise);
throw jmse;
}
catch (AMQInvalidRoutingKeyException e)
{
JMSException jmse = new InvalidDestinationException("Invalid routing key:" + amqd.getRoutingKey().toString());