[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-893) Clean out common component

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Mar 21 05:39:40 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-893?page=comments#action_12403990 ] 
            
Viacheslav Kabanovich commented on JBIDE-893:
---------------------------------------------

Some methods in interfaces and abstract classes in XModel declare 'throws Exception'. 
That makes other methods calling them either catch java.lang.Exception or declare throwing it. 
As a result, only in common.model plugin has 151 methods declaring 'throws Exception' 
and there are 204 cases of cathing java.lang.Exception. 
I think we need to replace these by throwing and catching XModelException. 
The refactoring can be done in 2-3 days and we have enough time to test results.

> Clean out common component
> --------------------------
>
>                 Key: JBIDE-893
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-893
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: Cleanup
>    Affects Versions: 2.0.0.GA
>            Reporter: Denis Golovin
>         Assigned To: Viacheslav Kabanovich
>             Fix For: 2.1
>
>


-- 
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 jbosstools-issues mailing list