You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2004/04/19 23:58:31 UTC
cvs commit: incubator-geronimo/modules/naming/src/java/org/apache/geronimo/naming/java RootContext.java
dain 2004/04/19 14:58:31
Modified: modules/naming/src/java/org/apache/geronimo/naming/java
RootContext.java
Log:
Added name to exception message
Revision Changes Path
1.4 +2 -2 incubator-geronimo/modules/naming/src/java/org/apache/geronimo/naming/java/RootContext.java
Index: RootContext.java
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/naming/src/java/org/apache/geronimo/naming/java/RootContext.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- RootContext.java 10 Mar 2004 09:59:08 -0000 1.3
+++ RootContext.java 19 Apr 2004 21:58:31 -0000 1.4
@@ -45,7 +45,7 @@
ReadOnlyContext compCtx = (ReadOnlyContext) compContext.get();
if (compCtx == null) {
// the component context was not set for this thread
- throw new NameNotFoundException();
+ throw new NameNotFoundException(name);
}
compCtx = new ReadOnlyContext(compCtx, getEnvironment());