EXCEPTION_WRONG_DOCUMENT_ERROR – PB Docs 125
EXCEPTION_WRONG_DOCUMENT_ERROR Code Value: 2 This exception is thrown when you use incorrect PBDOM_DOCUMENT objects when performing a PBDOM operation. For example, in a RemoveContent method call, if the PBDOM_OBJECT you want to remove is not from the same document as the active PBDOM_DOCUMENT whose RemoveContent method is being invoked, this exception is thrown. Document get…
EXCEPTION_USE_OF_UNNAMED_PBDOM_OBJECT – PB Docs 125
EXCEPTION_USE_OF_UNNAMED_PBDOM_OBJECT Code Value: 1 This exception is thrown when you use a nameable PBDOM_OBJECT—for example, to invoke a method or serve as a parameter—without first being given a user-defined name. Document get from Powerbuilder help Thank you for watching.
PBDOM exception descriptions – PB Docs 125
PBDOM exception descriptions Document get from Powerbuilder help Thank you for watching.
EXCEPTION_INAPPROPRIATE_USE_OF_PBDOM_OBJECT – PB Docs 125
EXCEPTION_INAPPROPRIATE_USE_OF_PBDOM_OBJECT Code Value: 4 This exception is thrown when a PBDOM_OBJECT is used in an inappropriate manner. A typical scenario is one is which a PBDOM method call results in the violation of the well-formedness of a PBDOM_DOCUMENT. For example, in an AddContent method invoked on a PBDOM_DOCUMENT object, only PBDOM_OBJECTs of class PBDOM_ELEMENT, PBDOM_COMMENT,…
EXCEPTION_MULTIPLE_ROOT_ELEMENT – PB Docs 125
EXCEPTION_MULTIPLE_ROOT_ELEMENT Code Value: 3 This exception is thrown when a PBDOM method call causes a PBDOM_DOCUMENT to contain more than one root element. For example, in an AddContent method call, if the input PBDOM_OBJECT to add is a PBDOM_ELEMENT and the active PDBOM_DOCUMENT already contains a root element, this exception is thrown. Document get from…
EXCEPTION_MULTIPLE_XMLDECL – PB Docs 125
EXCEPTION_MULTIPLE_XMLDECL Code Value: 15 This exception is thrown when a PBDOM method call causes a PBDOM_DOCUMENT to contain more than one XML declaration. For example, in a SetContent method call invoked on a PBDOM_DOCUMENT object, if the input PBDOM_OBJECT array contains more than one PBDOM_PROCESSINGINSTRUCTION that is constructed as an XML declaration, this exception is…