Example #1
0
  /**
   * Creates new exception with full SOAP fault details.
   *
   * @param faultCode the fault code
   * @param faultString the fault string (e.g. the message)
   * @param faultActor the fault actor
   * @param faultDetail the details
   * @return new proxy exception
   */
  public static CodedException fromFault(
      String faultCode, String faultString, String faultActor, String faultDetail) {
    CodedException ret = new Fault(faultCode, faultString);

    ret.faultActor = faultActor;
    ret.faultDetail = faultDetail;

    return ret;
  }