i wrote a jave code and it runs but the problem is i threw an exception and i want it to take the user back to a line to execute | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i wrote a jave code and it runs but the problem is i threw an exception and i want it to take the user back to a line to execute

Help please

4th May 2019, 8:37 PM
Oden David
Oden David - avatar
3 Answers
+ 1
Show the code, in order to know what us the exception that you are talking about
5th May 2019, 12:25 AM
Werg Serium
Werg Serium - avatar
+ 1
Write the piece of code in a method and then call the method in the exeption
5th May 2019, 1:23 AM
Hothouseinwar Polik
Hothouseinwar Polik - avatar
0
Thank you
7th May 2019, 5:48 AM
Oden David
Oden David - avatar