a little trick I learned in the service
So here’s some code, basically this is the boiler plate for catching an exception and printing the error message.
try {
// some code
} catch (Exception e) {
System.out.println(e.getMessage());
}…
So here’s some code, basically this is the boiler plate for catching an exception and printing the error message.
try {
// some code
} catch (Exception e) {
System.out.println(e.getMessage());
}…