You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by David Logan <da...@veritas.com> on 2003/01/14 19:35:23 UTC

AxisFaults

What is the best way to create/throw axis faults from the service?

I am having trouble getting the fault code from the exception when caught on
the client. I get the message but the FaultCode is = "";


----------------------------------------------------------------------------
-----------------------------------------------
public class TitanServicesException extends AxisFault {

  public TitanServicesException() {

  }

  public TitanServicesException(String message, String faultCode) {
    super(new QName(faultCode), message, faultCode, null);
  }
}