Uploaded image for project: 'XMLGraphicsCommons'
  1. XMLGraphicsCommons
  2. XGC-26

Throwables should have meaningful messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.3.1
    • None
    • image codecs
    • None
    • Operating System: Windows XP
      Platform: PC

    Description

      There are a quite a few instances in the code where no message is passed to the throwable, e.g.

      throw new RuntimeException()
      throw new NullPointerException()

      In other cases, the text is meaningless, so might as well not be there, e.g.

      throw new Error("TIFFImageEncoder2");

      It would help if meaningful messages were provided.

      Attachments

        Activity

          People

            general@xmlgraphics.apache.org XML Graphics Project Mailing List
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: