]
James Perkins closed LOGTOOL-14.
--------------------------------
Resolution: Done
Fixed on commit
Validate constuctors for exceptions
-----------------------------------
Key: LOGTOOL-14
URL:
https://issues.jboss.org/browse/LOGTOOL-14
Project: Log Tool
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: James Perkins
Assignee: James Perkins
Fix For: 1.0.0.Beta6
When constructing exceptions it will be better to send error/warning messages when the
proper constructor does not exist rather than relying on the compiler to fail. Send a
warning method if the default constructor is used, but there is a message parameter being
passed. Generate an error message if no constructors match and there is no default
constructor.
Also if there is no String only constructor, but there is a String, Throwable constructor
(in any order) pass null to the Throwable parameter.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: