Java allows an exception handler to rethrow the exception if the handler cannot process the exception or the handler simply wants to let its caller be notified of the exception. The syntax may look like this:
try { statements; } catch (TheException ex) { perform operations before exits; throw ex; }
The statement throw ex rethrows the exception so that other handlers get a chance to process the exception ex .