when you throw an Exception, I think you should also handle it, it is either you catch it or you throws it beside the method.
example:


public void doExceptions() throws Excetion {
throw...