timer class : ShowException getter

Description

Returns a value that indicates whether to display the error messages.

Syntax

instance.ShowException

Arguments

None

Return value

ClassDescription
boolWhether to display the error messages.

Sample code

Suppose you have the following class definition.

1:

class handle

2:

open method void THandler(dictionary dic)

3:

... // timer handler code.

4:

endmethod

5:

endclass

Usage of the ShowException getter is as follows.

1:

handle h = new handle();

2:

timer tim = new timer(h,"THandler(dictionary)", 1000);

3:

bool show = tim.ShowException; // "true"

Notes

Returns a value that indicates whether to display the error messages if an exception occurs in the handler.

Returns true if the error messages will be shown. Otherwise, returns false.

The defalut is true.

Links for reference

None

Copyright © Cooker All rights reserved.