[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-152) Refactor exception handling
Tim Fox (JIRA)
jira-events at lists.jboss.org
Mon Apr 30 09:53:30 EDT 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-152?page=all ]
Tim Fox updated JBMESSAGING-152:
--------------------------------
Summary: Refactor exception handling (was: Revisit exception handling)
Fix Version/s: 2.0.0 Beta 1
(was: Unscheduled)
> Refactor exception handling
> ---------------------------
>
> Key: JBMESSAGING-152
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-152
> Project: JBoss Messaging
> Issue Type: Task
> Components: JMS Facade
> Reporter: Tim Fox
> Assigned To: Tim Fox
> Priority: Minor
> Fix For: 2.0.0 Beta 1
>
> Original Estimate: 1 day, 4 hours
> Remaining Estimate: 1 day, 4 hours
>
> We should audit the exception handling.
> In some areas it is quite sloppy including anti-patterns such as:
> 1. Logging errors when they're not being handled
> 2. Rethrowing with less information. E.g. losing the message or original exception.
> 3. Too much usage of "throws Throwable" or "throws Exception" where probably unnecessary.
> 4. Swallowing exceptions.
> We need to go through the whole of the code, auditing and changing as necessary.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list