errMsg = rb.getString(rb.E_CANNOT_PROCEED_TAKEOVER_IN_PROCESS);
logger.log(Logger.ERROR, this.getClass().getName() + ": " + errMsg);
} else {
try {
Subscription sub = Subscription.findDurableSubscription(clientID, durable);
if (sub == null) {
// couldnt find subscription
//XXX
errMsg = " unknown durable subscription " + durable + ":" + clientID;
status = Status.ERROR;
} else {
sub.purge();
}
} catch (BrokerException ex) {
ex.printStackTrace();
errMsg = getMessageFromException(ex);