users@jaxb.java.net

binding custom exceptions using JAXB

From: Arul Dhesiaseelan <arul_at_fluxcorp.com>
Date: Thu, 08 May 2008 13:16:51 -0600

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