Home > Back-end >  Delphi to catch the exception handling problems
Delphi to catch the exception handling problems

Time:09-27

now it is the case, I made a receptionist, Delphi and SQL server is directly connected, and then I try at the front desk of the except the except in e.e xception to catch exception information e.m essage, the results of the background of the print to print the information to capture the e.m essage shows print is the background information, the content of lead to print to the log information is always in the background of the print information! Have a familiar please help solve, thank you!

CodePudding user response:

Code is not posted by guess not to come out
 
Try
.
Except on E: the Exception do
ShowMessage (e.M essage);
end;

Will capture the print information? You to print this code to try the except end; After may be used.

CodePudding user response:

The problem is to ask how to judge is the background or the front desk of anomaly?
  • Related