use of com.sun.messaging.jms.MQInvalidSelectorRuntimeException in project openmq by eclipse-ee4j.
the class JMSContextImpl method createBrowser.
@Override
public QueueBrowser createBrowser(Queue queue, String messageSelector) {
checkNotClosed();
disallowSetClientID();
try {
return session.createBrowser(queue, messageSelector);
} catch (InvalidDestinationException e) {
throw new MQInvalidDestinationRuntimeException(e);
} catch (InvalidSelectorException e) {
throw new MQInvalidSelectorRuntimeException(e);
} catch (JMSException e) {
throw new MQRuntimeException(e);
}
}
Aggregations