ERROR HANDLER

ERROR HANDLER

Designate a method as an error handler for the class

Syntax

      ERROR HANDLER <MethodName>( [<params,...>] )

Arguments

<MethodName> Name of the method to define

<params, …> Optional parameter list

Description

ERROR HANDLER names the method that should handle errors for the class being defined.

Examples

      CREATE CLASS TWindow
         ERROR HANDLER  MyErrHandler()
      ENDCLASS

Compliance

Harbour

Platforms

All

Seealso

Object Oriented Programming, ON ERROR, CLASS, METHOD, DATA

Advertisements

3 responses to “ERROR HANDLER

  1. Pingback: Harbour Statements | Viva Clipper !

  2. Pingback: Harbour Commands | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s