Hello, all my web service methods follow the same pattern:

public ... someMethod() throws MyWebServicesFault {
    try {
      ...
    } catch (Exception e) {
      throw new MyWebServicesFault(e);
    }
  }

Is it possible to simplify them by eliminating the try/catch and somehow
tell the CXF framework to catch any exception thrown and to wrap it into my
custom MyWebServicesFault?

I'm using 2.6.2, if it matters.

Thanks!

Reply via email to