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

THROWS – PB Docs 125 – PowerBuilder Library

THROWS – PB Docs 125

THROWS

Description

Used to declare the type of exception that a method triggers.
It is part of the method prototype.

Syntax

Parameter

Description

methodname

Name of the method that throws an exception.

arguments

Arguments of the method that throws an
exception. Depending on the method, the method arguments can be
optional.

ExceptionType

Object of type Throwable. Usually the
object type thrown is a user-defined exception class derived from
the system Exception class. If you define multiple potential exceptions
for a method, you can throw each type of exception in the same clause
by separating the exception types with commas.

Usage

Internal use only.

You do not type or otherwise add the THROWS clause
to function calls in a PowerBuilder script. However, you can add
a THROWS clause to any PowerBuilder function
or to any user event that is not defined by a pbm event ID.

For more information about adding a THROWS clause
to a function or event prototype, see the PowerBuilder Users
Guide
. For more information about exception handling,
see Application Techniques.


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