djencks 2004/10/13 12:43:58
Modified: modules/core/src/java/org/openejb ContainerIndex.java
Log:
add todo
Revision Changes Path
1.11 +2 -1 openejb/modules/core/src/java/org/openejb/ContainerIndex.java
Index: ContainerIndex.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/ContainerIndex.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ContainerIndex.java 5 Jun 2004 07:53:22 -0000 1.10
+++ ContainerIndex.java 13 Oct 2004 16:43:55 -0000 1.11
@@ -191,6 +191,7 @@
}
public synchronized EJBContainer getContainer(String containerID) {
+ //TODO return an informative exception if there is no such containerId.
Currently returns ArrayIndexOutOfBoundsException(-1)
return getContainer(getContainerIndex(containerID));
}