getThreadPool(String id)
throws NoSuchThreadPoolException {
Integer i = (Integer) idToIndexTable.get(id);
if (i == null) {
throw new NoSuchThreadPoolException();
}
try {
ThreadPool threadpool =
(ThreadPool)
threadpoolList.get(i.intValue());
return threadpool;
} catch (IndexOutOfBoundsException iobe) {
throw new NoSuchThreadPoolException();
}
}