0
I declare MyException and i have error. Thanks you.
MyException. https://code.sololearn.com/cR7lycFpgLVJ/?ref=app
2 Answers
0
You have to make new exception class
https://code.sololearn.com/c4vwUvRh6iaw/?ref=app
0
So you are using your own custom exception but you are not implemented that exception so first define that exception and use it as @BlazingMagpie given an example... Hope it helps..