Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-226

Null-Stream input to ValidatorResources leads to MalformedURLExceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.1 Release
    • 1.4.0 Release
    • Framework
    • None
    • Should be regardless to OS or Java version

    Description

      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.

      Attachments

        Activity

          People

            niallp Niall Pemberton
            lianril Lian Ort
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: