On Mon, Jun 9, 2014 at 3:27 PM, Justin Deoliveira <[email protected]
> wrote:

> Which of the ServiceException subclasses will implement the interface? All
> of them?
>

On no, for starters, a single WPSServiceException subclass.
Developer will implement more as they see a need for it.

In WPS the need is clear enough, the WPS process developer wants to
communicate an error
back to the client without the rest of the machinery to get in the way.


>
> Wondering about cases where delegation goes on and internally one service
> delegates to another? Following this approach as I understand it the
> delegate service exception is what would be reported unless the delegating
> service is also a direct exception... hence my question above.
>

I see. WPS wise, the issue might occur if the process is used as a
rendering transformation... which is probably what we want anyways, or not?
Hypotetically, say WCS/WFS used it somewhere (maybe a geoserver specific
store), and WPS was integrating into them, that would be the
inputs of a process failing, so something the user specified... seems again
something that would work well even if we expose just the
innermost exception

Generally speaking, this exception would bypass, reporting wise, the layers
in the middle, and it's thrown on purpose by the programmer
just to get that effect, so I believe it should be fine.

None of the existing code or exceptions would be affected, only new code
written on purpose to leverage the marker interface would
use it.

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://www.hpccsystems.com
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to