ResourcePool.getDataStore and ModificationProxy.invoke mask source exceptions
-----------------------------------------------------------------------------
Key: GEOS-2104
URL: http://jira.codehaus.org/browse/GEOS-2104
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.0-alpha1
Reporter: Gabriel Roldán
Assignee: Gabriel Roldán
Fix For: 2.0-alpha1
{{ModificatinProxy.invoke}} declares to throw a {{Throwable}} but if an
exception occurs it always throws {{InvocationTargetException}} instead of the
original exception, making proxied methods that declares to throw a checked
exception to throw a runtime exception instead.
{{ResourcePool.getDataStore}} always wraps the exceptions in a new
{{IOException}} with no message even if the original exception is already an
{{IOException}}, in which case the original exception should be thrown as is
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel