Php throws an exception and cannot be caught. this is an error. the third-party class that I call and the third-party class throw an exception. I cannot catch it here. This class throws an exception and cannot be captured in the called class. When an exception is thrown, the system cannot catch me...
Php throws an exception and cannot be caught. this is an error. the third-party class that I call and the third-party class throw an exception. I cannot catch it here.
This class throws an exception and cannot be captured in the called class.
How to throw an exception
Capture exceptions
It seems that it cannot be captured.
No matter what is output in my catch, this error cannot be executed. I want to throw an exception and process it and then execute it.
Because I am a foreach. when one of them has an error, the following loop will not be executed.
Reply content:
Php throws an exception and cannot be caught. this is an error. the third-party class that I call and the third-party class throw an exception. I cannot catch it here.
This class throws an exception and cannot be captured in the called class.
How to throw an exception
Capture exceptions
It seems that it cannot be captured.
No matter what is output in my catch, this error cannot be executed. I want to throw an exception and process it and then execute it.
Because I am a foreach. when one of them has an error, the following loop will not be executed.
Exception
Add a \ above to try
$ E-> getMessage ();
What scholer said
Open a third-party class library to open a breakpoint