History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-317
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jeen Broekstra
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

Simplify Exception Handling

Created: 22/Nov/06 01:23 PM   Updated: 20/Mar/08 09:21 PM
Component/s: Repository API, Sail API
Affects Version/s: 2.0-alpha-2, 2.0-alpha-3, 2.0-alpha-4
Fix Version/s: 2.0-beta1


 Description   
The current set of Exceptions that are thrown by methods in the Repository API is large. To simplify this we will introduce a common superclass of all checked Exceptions called OpenRDFException, and we will change several other exceptions (such as UnsupportedRDFFormatException) to be RuntimeExceptions. This will enable simpler client code while losing none of the fine-grainedness of error reporting.

 All   Comments   Change History      Sort Order:
Comment by Jeen Broekstra [22/Nov/06 02:18 PM]
fixed in SVN. All checked exceptions are now subtype of OpenRDFException. UnsupportedRDFFormat, UnsupportedQueryLanguage and UnsupportedQueryResult exceptions have been changed to RuntimeException and are no longer explicitly thrown from the methods in the Connection interface.