commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Endre Stølsvik (JIRA) <>
Subject [jira] Created: (CONFIGURATION-232) ConfigurationUtils spews directly on std.err when exceptions
Date Mon, 16 Oct 2006 12:24:34 GMT
ConfigurationUtils spews directly on std.err when exceptions

                 Key: CONFIGURATION-232
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.3 Final
         Environment: n/a
            Reporter: Endre Stølsvik
            Priority: Minor

public static URL locate(String base, String name) {
  3 x :

  catch ([Malformed|IO]URLException e) {

.. say no more.

But while we're at it, the log-message (which, for some reason, actually goes to a logger,
not uglily to the system) states "Configuration loaded from ..", which isn't true: The thing
isn't loaded yet; it will be loaded.  "Loading configuration from .." would be better, or
maybe "Will be loading configuration from ..". In addition, these log-lines could state what
was the "base", and in particular the case where it loads from "base path", the whole line
reads wrong.

For example: "Loading configuration ["+name+"] from base path ["+base+"].." and similar for
the other lines.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message