throws
clause in the method signature only means that "I am aware that this method can throw this exception and I do NOT catch it here, so the caller should catch it."
In your example you are just tricking your compiler so that it won't complain about uncaught exception.