What is throw | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is throw

Haaaaaa

29th Jul 2020, 5:15 AM
Abhi Trambadia
Abhi Trambadia - avatar
4 Answers
+ 3
Specify a language in the thread tags please☝
29th Jul 2020, 5:19 AM
Ipang
+ 2
And please use appropriate description.
29th Jul 2020, 6:30 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
When an exception is encountered ,you transfer the execution to another segment, this is called raise or throw an exception. It's a part of exception handling you can make your own exception with throw
29th Jul 2020, 5:22 AM
Rajneesh Singh
Rajneesh Singh - avatar