Skip to main content
Version: 10.0

Exception

If an error occurs during any web service, the web service will throw an exception named WebserviceException.

This exception is defined with the FaultInfo complex type:

<xs:complexType name="FaultInfo">
<xs:sequence>
<xs:element name="errorCode" type="xs:int"/>
<xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
<xs:element name="stackTrace" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

The exception will contain the following values:

  • errorCode (integer) - Error number
  • errorMessage - Description of error
  • stackTrace - Stack trace on the server where the error occurred (usually only important for Support)