I try to throw an IllegalFormatException().
throw new IllegalFormatException();
but I get this compile error The constructor IllegalFormatException() is not visible. what did I do is wrong?
I try to throw an IllegalFormatException().
throw new IllegalFormatException();
but I get this compile error The constructor IllegalFormatException() is not visible. what did I do is wrong?