From Clomosy Docs

Revision as of 13:13, 24 December 2024 by ClomosyAdmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

It is a mechanism used to display exceptions that occur in an application to the user. This is typically triggered automatically when an error occurs and displays the error details in a console box.

By default, in Clomosy applications, when an exception occurs, ShowException is invoked, and information about the error (such as the error message and exception type) is displayed on the console screen.

Example

The example shows an error caused by type conversion. When the ShowExceptions procedure is set to False, the error console will not appear on the screen. If it is set to True, the error console will appear on the screen.

 var
  Num1, Num2, Total : Integer;
 
 {
  Clomosy.ShowExceptions = False;
  Num1 = 5;
  Num2 = 28;
  Total = Num1+Num2;
  ShowMessage('Total'+ Total);
 }

See Also