use of com.sun.messaging.jms.MQInvalidClientIDRuntimeException in project openmq by eclipse-ee4j.
the class ConnectionAdapter method _setClientIDForContext.
/**
* Set clientID to the specified value, bypassing any checks as to whether calling setClientID is allowed at this time
*/
@Override
public void _setClientIDForContext(String clientID) {
_loggerJC.entering(_className, "_setClientIDForContext()", clientID);
checkClosed2();
try {
xac._setClientID(clientID);
} catch (InvalidClientIDException ice) {
throw new MQInvalidClientIDRuntimeException(ice);
} catch (JMSException e) {
throw new MQRuntimeException(e);
}
}
Aggregations