Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetExceptionCode – PB Docs 126 – PowerBuilder Library

GetExceptionCode – PB Docs 126

PBDOM_EXCEPTION:

GetExceptionCode method

Description

Returns
the code of the exception being thrown.

Syntax

Argument

Description

pbdom_exception

The name of a PBDOM_EXCEPTION object

Return Values

Long. The code value associated with
the exception being thrown.

Examples

In this example, an attempt to call the PBDOM_ELEMENT GetAttribute method
on the root element of a PBDOM_DOCUMENT with the parameter xmlns:nuskin causes
an exception to be thrown, because the name is not a valid NCName
(no-colon-name). The correct way to get an attribute that belongs
to a namespace is to use the namespace version of the PBDOM_ELEMENT GetAttribute method.The
EXCEPTION_INVALID_NAME (code value 11) exception
is thrown and is displayed in a message box :

Usage

For a list of exception codes, see “PBDOM exceptions”. For a description
of the conditions under which each exception can occur, see “PBDOM exception descriptions”.

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x