Olliedee,
You will need to write one user-defined exception class that can extend ArrayIndexOutOfBoundsException.
Still, you will need to catch ArrayIndexOutOfBoundsException in your source code.
Then in the catch block you can re-throw your user-defined exception.
But then how to extract information about array name and index. That I don't know as of now. And I don't know if that is possible also.
But you can get the cause. I don't know how far "cause" fulfills your requirement.
Let me know once your dream gets fulfilled. I may be learning new thing.
Syed.