DO NOT REPLY [Bug 47175] New: Throwables should have meaningful messages

View: New views
1 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 47175] New: Throwables should have meaningful messages

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47175

           Summary: Throwables should have meaningful messages
           Product: XMLGraphicsCommons
           Version: 1.3.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Image codecs
        AssignedTo: general@...
        ReportedBy: sebb@...


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.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@...
For additional commands, e-mail: general-help@...