commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lian Ort (JIRA)" <j...@apache.org>
Subject [jira] Created: (VALIDATOR-226) Null-Stream input to ValidatorResources leads to MalformedURLExceptions
Date Mon, 26 Feb 2007 16:35:05 GMT
Null-Stream input to ValidatorResources leads to MalformedURLExceptions
-----------------------------------------------------------------------

                 Key: VALIDATOR-226
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-226
             Project: Commons Validator
          Issue Type: Improvement
          Components: Framework
    Affects Versions: 1.3.1 Release
         Environment: Should be regardless to OS or Java version
            Reporter: Lian Ort
            Priority: Minor


Providing the constructor of ValidatorResources  with a null InputStream leads to a MalformedURLException,
which leads the user (trying to find his error) in a complete wrong direction. Perhaps returning
a NullPointerException or 
an IllegalArgumentException seems to be a better understandable reaction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message