notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1016 - trunk/main/transit/core/src/main/net/dpml/lang
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1016 - trunk/main/transit/core/src/main/net/dpml/lang
- Date: Fri, 3 Feb 2006 19:23:20 +0100
Author: mcconnell
Date: 2006-02-03 19:23:01 +0100 (Fri, 03 Feb 2006)
New Revision: 1016
Modified:
trunk/main/transit/core/src/main/net/dpml/lang/UnknownKeyException.java
Log:
improve exception message
Modified:
trunk/main/transit/core/src/main/net/dpml/lang/UnknownKeyException.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/lang/UnknownKeyException.java
2006-02-03 17:22:04 UTC (rev 1015)
+++ trunk/main/transit/core/src/main/net/dpml/lang/UnknownKeyException.java
2006-02-03 18:23:01 UTC (rev 1016)
@@ -30,6 +30,8 @@
* Serial version identifier.
*/
static final long serialVersionUID = 1L;
+
+ private final String m_key;
/**
* Construct a new <code>UnknownKeyException</code> instance.
@@ -38,7 +40,9 @@
*/
public UnknownKeyException( final String key )
{
- super( key );
+ super( "[" + key + "]" );
+
+ m_key = key;
}
/**
@@ -47,7 +51,7 @@
*/
public String getKey()
{
- return super.getMessage();
+ return m_key;
}
}
- r1016 - trunk/main/transit/core/src/main/net/dpml/lang, mcconnell at BerliOS, 02/03/2006
Archive powered by MHonArc 2.6.24.