Exception Handling in Java WebServices

29 views
Skip to first unread message

kalps ram

unread,
Feb 24, 2016, 10:43:51 AM2/24/16
to JPassion.com: Web Services Programming
As a web service provider when defining custom exception which type (checked or unchecked) of exception base class I should extend for a better design and why?

Kalpana Ramasamy

unread,
Feb 25, 2016, 7:27:55 AM2/25/16
to JPassion.com: Web Services Programming
Any reply?

On Wed, Feb 24, 2016 at 9:13 PM, kalps ram <kalpan...@gmail.com> wrote:
As a web service provider when defining custom exception which type (checked or unchecked) of exception base class I should extend for a better design and why?

--
You received this message because you are subscribed to the Google Groups "JPassion.com: Web Services Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpassion_webserv...@googlegroups.com.
Visit this group at https://groups.google.com/group/jpassion_webservices.
For more options, visit https://groups.google.com/d/optout.

Ice-Man

unread,
Feb 25, 2016, 9:03:55 AM2/25/16
to JPassion.com: Web Services Programming
In my opnion it depende if the APP,that os consuming your WebService, is also implementar in Java (mainly if you must use an exception, or exception class hierachi, defined in a arquitetural API within your corporation).
If the APP, the consoles it, is implementar in ASP (or obter w/pior exception handling) will NOT be useful in tracking/debug prodution raios.

Derlon

Ice-Man

unread,
Feb 26, 2016, 1:24:17 PM2/26/16
to JPassion.com: Web Services Programming
In my opnion it depends if the APP, that is consuming your WebService, is also implemented in Java (mainly if you must use an exception, or exception class hierachi, defined in a arquitetural API within your corporation).
If the APP, that consomes it, is implemented in ASP (or other language w/poor exception handling) will NOT be useful in tracking/debug prodution fails.


Derlon



Em quinta-feira, 25 de fevereiro de 2016 09:27:55 UTC-3, kalps ram escreveu:
Any reply?

On Wed, Feb 24, 2016 at 9:13 PM, kalps ram <kalpan...@gmail.com> wrote:
As a web service provider when defining custom exception which type (checked or unchecked) of exception base class I should extend for a better design and why?

--
You received this message because you are subscribed to the Google Groups "JPassion.com: Web Services Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpassion_webservices+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages