452453454455456457458459460461462
myConsole.logResponseNL("failed"); myConsole.logResponseNL(e.toString()); } finally { try { brokerLock.release(); if(brokerLock.getChildren().isEmpty()) brokerLock.delete(); } catch(CODIException e) { }
566567568569570571572573574575576
myConsole.logResponse("stopping `%s' ... failed%n", broker_ip); myConsole.logResponseNL(e.toString()); } finally{ try { brokerLock.release(); if(brokerLock.getChildren().isEmpty()) brokerLock.delete(); } catch(CODIException e) { }
146147148149150151152153154155156
catch(Exception e) { logger.error(e.getMessage(), e); } finally { try { lock.release(); if(lock.getChildren().isEmpty()) lock.delete(); } catch(CODIException e) { }
191192193194195196197198199200201
throw new MistException(e.getMessage()); } finally { if(!brokerDetermined) { try { lock.release(); } catch(CODIException e) { } logger.info("lock released: " + lockPath); }
246247248249250251252253254255256
logger.error(e.getMessage(), e); } finally { if(!brokerDetermined) { try { lock.release(); } catch(CODIException e) { } logger.info("lock released: " + lockPath); }
138139140141142143144145146147148
catch(Exception e) { logger.error(e.getMessage(), e); } finally { try { lock.release(); } catch(Exception e) { } logger.info("lock released: " + lockPath); }