Whats the issue so that it results into crash | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whats the issue so that it results into crash

Please refer code below I am handling exception via try catch but it still crashes Whats the issue ? Plz suggest https://code.sololearn.com/ckMc3Sk9FuW3/?ref=app

6th Jul 2022, 4:00 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 Answers
+ 1
use throw this; not throw *this
6th Jul 2022, 4:07 PM
Jayakrishna 🇮🇳
+ 1
Thanks
6th Jul 2022, 4:10 PM
Ketan Lalcheta
Ketan Lalcheta - avatar