datai/docs/reference-code/force-wsc-57.0.0/com/sforce/ws/SoapFaultException.java

30 lines
679 B
Java
Raw Normal View History

2026-01-22 10:52:30 +08:00
package com.sforce.ws;
import javax.xml.namespace.QName;
public class SoapFaultException extends ConnectionException {
private static final long serialVersionUID = 6727192150757263283L;
private QName faultCode;
public SoapFaultException() {}
public SoapFaultException(QName faultCode, String faultString) {
super(faultString);
this.faultCode = faultCode;
}
public SoapFaultException(QName faultCode, String faultString, Throwable cause) {
super(faultString, cause);
this.faultCode = faultCode;
}
public QName getFaultCode() {
return this.faultCode;
}
public void setFaultCode(QName fc) {
this.faultCode = fc;
}
}