Skip to Content.
Sympa Menu

notify-dpml - r1936 - trunk/main/metro/part/src/main/net/dpml/runtime

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1936 - trunk/main/metro/part/src/main/net/dpml/runtime
  • Date: Wed, 28 Mar 2007 19:16:41 +0200

Author: mcconnell
Date: 2007-03-28 19:16:40 +0200 (Wed, 28 Mar 2007)
New Revision: 1936

Modified:
trunk/main/metro/part/src/main/net/dpml/runtime/ContextModel.java
Log:
improve a common exception message readability

Modified: trunk/main/metro/part/src/main/net/dpml/runtime/ContextModel.java
===================================================================
--- trunk/main/metro/part/src/main/net/dpml/runtime/ContextModel.java
2007-03-26 05:36:45 UTC (rev 1935)
+++ trunk/main/metro/part/src/main/net/dpml/runtime/ContextModel.java
2007-03-28 17:16:40 UTC (rev 1936)
@@ -82,15 +82,15 @@
if( !optional )
{
final String error =
- "Nested context entry ["
+ "Non optional context entry ["
+ key
- + "] within the context definition ["
+ + "] within the nested context ["
+ c.getName()
- + "] as a constructor argument to the
component class ["
+ + "] referenced by ["
+ clazz.getName()
- + "] within the component model ["
+ + "] within ["
+ path
- + "] could not be created.";
+ + "] is undefined.";
if( validate )
{
throw new ComponentException( error );




  • r1936 - trunk/main/metro/part/src/main/net/dpml/runtime, mcconnell at BerliOS, 03/28/2007

Archive powered by MHonArc 2.6.24.

Top of Page