No, the reason it is not caught is because it is not in the try block that is associated with the catch block. If you want to catch this exception as well, you will have to flip the throw into a new try / catch group. The reason you would like to do this is a mystery to me.
What you can do btw also:
catch (IndexOutOfBoundsException|NullPointerException e)
It will also allow you to use the same catch block for several types of exceptions.
source share