Optimize raise exception in WinControls.inc
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
-
Reporter name: Serge Anvarov
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
- Reporter name: Serge Anvarov
Description:
Continue 0034362 issue
Because creating an exception is a rare case and calling "raise Exception.Create(...)" creates a large call context (that is, a lot of code is always called, and rarely used), it is better to put the raise exception code to a separate local procedure
Also some messages are made more descriptive
Mantis conversion info:
- Mantis ID: 34415
- Build: r59294
- Version: 2.1 (SVN)