private void ensureNonExistingThread() throws ExistingRunningThreadException { if (processingThread != null && processingThread.isAlive()) { throw new ExistingRunningThreadException(processingThread); } }
try { if (busyProcessing) { throw new BusyProcessingException();
private void ensureNonExistingThread() throws ExistingRunningThreadException { if (processingThread != null && processingThread.isAlive()) { throw new ExistingRunningThreadException(processingThread); } }
try { if (busyProcessing) { throw new BusyProcessingException();
private void ensureNonExistingThread() throws ExistingRunningThreadException { if (processingThread != null && processingThread.isAlive()) { throw new ExistingRunningThreadException(processingThread); } }
try { if (busyProcessing) { throw new BusyProcessingException();