This is implicitly final because you do not need to modify the object that ex points to, especially in this case, when it can be either an IOException or SQLException , and thus the typing assignment will be difficult to determine by the compiler.
source share