users@jaxb.java.net

Re: binding custom exceptions using JAXB

From: Arul Dhesiaseelan <arul_at_fluxcorp.com>
Date: Thu, 08 May 2008 17:09:34 -0600

Is there a better forum on JAXB related questions?

Arul Dhesiaseelan wrote:
> Hi,
>
> I am returning a custom exception as part of my web service operation.
>
> @WebService
> public class PingService {
>
> @WebMethod
> public CustomException getException() {
> }
>
> }
>
> My CustomException class looks like:
>
> public class CustomException extends Exception {
> }
>
> I was looking at the bug report
> https://jaxb.dev.java.net/issues/show_bug.cgi?id=216. But, not sure if
> this supports custom exceptions.
>
> Does someone on this forum clarify if this is supported in JAXB?
>
> Thanks!
> Arul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
> ________________________________
> Scanned by MessageLabs for Flux
> ________________________________