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

Throwable object – PB Docs 2019 – PowerBuilder Library

Throwable object – PB Docs 2019

Throwable object

The Throwable datatype is the base class for all throwable objects.
These include exceptions and error objects.

Properties

Throwable property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing
information about the class definition of the object or
control.

Text

String

Contains the text of the error
message.

Events

Throwable event

Occurs

Constructor

When the exception is thrown.

Destructor

Immediately after the exception is
thrown.

Functions

Throwable function

Datatype returned

Description

ClassName

String

Returns the name assigned to the
object.

GetContextService

Integer

Creates a reference to a context-specific instance
of the specified service.

GetMessage

String

Returns the error message from objects of type
Throwable.

GetParent

PowerObject

Returns a reference to the name of the parent
object.

PostEvent

Boolean

Adds an event to the end of the message queue for
the object.

SetMessage

 

Sets an error message for an object of type
Throwable.

TriggerEvent

Integer

Triggers a specific event in the object and
executes the script for the event.

TypeOf

Object

Returns the type of the object.


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