posted 18 years ago
Hi ranchers,
Yes, you can do that. But when you rethrow a checked exception you either have to declare in the method signature that the methods will throw this Exception.
Or you have to catch it back again, looks really ugly:
Compiles and prints out
start
main ready
java.lang.ArrayIndexOutOfBoundsException: 0
at Main.main(Main.java:5)
Yours,
Bu.
all events occur in real time