You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2002/06/16 02:13:07 UTC
cvs commit: jakarta-avalon/src/java/org/apache/avalon/framework/context DefaultContext.java
mcconnell 2002/06/15 17:13:07
Modified: src/java/org/apache/avalon/framework/context
DefaultContext.java
Log:
Updated exception message to increase clarity.
Revision Changes Path
1.14 +1 -1 jakarta-avalon/src/java/org/apache/avalon/framework/context/DefaultContext.java
Index: DefaultContext.java
===================================================================
RCS file: /home/cvs/jakarta-avalon/src/java/org/apache/avalon/framework/context/DefaultContext.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- DefaultContext.java 20 May 2002 12:05:29 -0000 1.13
+++ DefaultContext.java 16 Jun 2002 00:13:06 -0000 1.14
@@ -105,7 +105,7 @@
if( null == m_parent )
{
// There was no parent, and no data
- throw new ContextException( "Unable to locate " + key );
+ throw new ContextException( "Unable to resolve context key: " + key );
}
return m_parent.get( key );
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>