System.Object
ErrorStackType
Client Declaration
public class ErrorStackType
Represents the contents of the error stack following an error in the Content Engine server.
An ErrorStackType
element is created as an element of an response by an operation (ExecuteChanges
, ExecuteSearch
, GetObjects
, GetSearchMetadata
) when an error occurs. For SOAP faults only, an FaultStackType
element, which has the same structure as ErrorStackType
, is returned.
Elements
ErrorNameType
ErrorName
: [response] Required element specifying the primary identification
of the error that has occurred, which is useful for automated error recovery.
The Content Engine server maps its internal error code to one of the pre-defined
ErrorNameType
constants. All applications are required to
treat an unrecognized ErrorName
value as equivalent to SERVER_ERROR
.ErrorRecordType[]
ErrorRecord
:
[response] Required element specifying a description of the error. The first record
provides information most directly related to the error, while any additional
records, if present, provide more detailed information as to the underlying
cause.
<xsd:complexType name="ErrorStackType"> <xsd:sequence> <xsd:element name="ErrorName" type="ErrorNameType"/> <xsd:element name="ErrorRecord" type="ErrorRecordType" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>