-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
currently org.geotools.data.DataStore.getFeatureSource wraps a
java.net.ConnectException which occurs when it is invoked with an
instance of ConnectionParameter which causes TCP/IP connection to fail
into a RuntimeException which is much less expressive than a newly
created or already existing geotools exception (I'd create and use
something like DataStoreConnectionException (which can extend
RuntimeException or even better GeotoolsException or
GeotoolsRuntimeException extending RuntimeException)).

- -Kalle Richter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUhrYkAAoJEGadKJ8eJ7ZGejYH/1siMFLYsYRxFJtSVPNUeyrX
Ik5a6k7ItP8uWEmc3abVns+sczeBn9NKZYHeyg4hXPFJ0qpzKqjsxg//5OWbYGji
UEFVV5Sbleyc12cx922n2Tizo2BSP6HNCfZVrhmlwJWOni74EBD2VjTjHnUjPldq
mT6ikvLENyMOY1ab9405hZFXuaqomBpyl0nefAC+VGBz0jBU4uldRGT1c+UmEzb6
WMQndez9jWfMABebilMF7iG2I71n75Sta93Ifmo+vGl608ObOmQoG0vDyBJleOVM
GDmqz6LOqo2Wvc/X5QsUIIWFvvaK3D7s9ee5BiU3TrheUj+KglUC293fPS+266c=
=1K6H
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to