+ 1

Useful Java Exceptions

Well, I learnt how to make my own exceptions with Java. But could you suggest me some useful and wide spread exceptions? P's:in my code there is an Exception, when you enter not an integer number, and MyException, when you enter number 2 (me and my code don't like this number) https://code.sololearn.com/cvUnncNdSNQu/?ref=app

17th Sep 2017, 9:24 PM
Топчий Анастасия Александровна
Топчий Анастасия Александровна - avatar
1 Antwort
+ 5
The most common Exceptions are probably: NullReferenceException, ArrayIndexOutOfBoundsException, IOException, InputMisMatchException, ArithmeticException, ClassCastException, Exception
18th Sep 2017, 2:14 AM
Rrestoring faith
Rrestoring faith - avatar