[gatein-issues] [JBoss JIRA] (GTNPORTAL-3477) Make GadgetImporter throw an exception with a meaningful message
Vu Viet Phuong (JIRA)
issues at jboss.org
Mon Jun 9 00:28:15 EDT 2014
[ https://issues.jboss.org/browse/GTNPORTAL-3477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vu Viet Phuong resolved GTNPORTAL-3477.
---------------------------------------
Resolution: Done
> Make GadgetImporter throw an exception with a meaningful message
> ----------------------------------------------------------------
>
> Key: GTNPORTAL-3477
> URL: https://issues.jboss.org/browse/GTNPORTAL-3477
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Peter Palaga
> Assignee: Vu Viet Phuong
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> {{GadgetImporter}} throws {{new IOException()}} without message and logs {{"Cannot import gadget " + gadgetURI + " because its data could not be found"}} on the previous line. We should apply both of the following:
> (1) Either throw or log not both
> (2) Throw exceptions with informative messages.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the gatein-issues
mailing list