This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 96791 - JPADataSourceProvider.getDataSources() should throw exception
Summary: JPADataSourceProvider.getDataSources() should throw exception
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 15:20 UTC by Sherold Dev
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sherold Dev 2007-02-28 15:20:24 UTC
Currently if a server plug-in cannot obtain list of datasources for some reason,
user is not notified about it and he is offered an empty list of datasources.
This can happen for instance when the datasource definition file is not parseable.

Please consider providing API that would allow to handle such case. Throwing an
exception from the getDatasources method seems like a possible option.
Comment 1 Martin Balin 2016-07-07 08:54:54 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss