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.