donaldp 2003/04/06 04:36:23
Modified: src/java/org/apache/avalon/phoenix/components/configuration/validator
DefaultConfigurationValidator.java
Log:
Improve error reporting
Revision Changes Path
1.2 +5 -3
avalon-phoenix/src/java/org/apache/avalon/phoenix/components/configuration/validator/DefaultConfigurationValidator.java
Index: DefaultConfigurationValidator.java
===================================================================
RCS file:
/home/cvs/avalon-phoenix/src/java/org/apache/avalon/phoenix/components/configuration/validator/DefaultConfigurationValidator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DefaultConfigurationValidator.java 6 Apr 2003 11:23:21 -0000 1.1
+++ DefaultConfigurationValidator.java 6 Apr 2003 11:36:23 -0000 1.2
@@ -100,8 +100,10 @@
{
final String message =
"Schema type specified as " + schema.getType() +
- " was translated to URI " + type + ". It is " +
- "recomended that the components Info specify the" +
+ " was translated to URI " + type + " for component named " +
+ component.getMetaData().getName() + " of type " +
+ component.getInfo().getDescriptor().getImplementationKey() +
+ ". It is recomended that the components Info specify the " +
"URI rather than the type for compatability reasons.";
System.err.println( message );
getLogger().warn( message );
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]