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