help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Types][Classes] Reference for unit 'CustApp' (#fcl)

TCustomApplication.ShowException

Show an exception to the user

Declaration

Source position: CustApp.pp line 52

public procedure TCustomApplication.ShowException(

  E: Exception

); virtual;

Arguments

E

  

Exception object to show

Description

ShowException should be overridden by descendent classes to show an exception message to the user. The default behaviour is to call the ShowException procedure in the SysUtils unit.

Descendent classes should do something appropriate for their context: GUI applications can show a message box, daemon applications can write the exception message to the system log, web applications can send a 500 error response code.

Errors

None.

See also

ShowException

TCustomApplication.HandleException

  

Handle an exception.

TCustomApplication.StopException

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505