[richfaces-issues] [JBoss JIRA] Updated: (RF-3167) UploadItem: unnecessary "throws Exception" for getFile() and getData()

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Apr 22 14:00:44 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-3167?page=all ]

Nick Belaevski updated RF-3167:
-------------------------------

    Fix Version/s: 3.2.1
         Assignee: Andrei Markavtsov

Andrei,

FacesException is a runtime one, it doesn't to be declared in throws clause

> UploadItem: unnecessary "throws Exception" for getFile() and getData()
> ----------------------------------------------------------------------
>
>                 Key: RF-3167
>                 URL: http://jira.jboss.com/jira/browse/RF-3167
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: RF 3.2.1CR1
>            Reporter: Juergen Zimmermann
>         Assigned To: Andrei Markavtsov
>             Fix For: 3.2.1
>
>
> The methode getFile and getData have "throws Exception". That's unnecessary and requires a try/catch when invoking one of them.

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