I wonder about how JVM or JDK runs exceptions. For example if we have array
int tab[] = {1, 2, 3};
and we try to access
tab[10]
JVM run ArrayIndexOutOfBoundsException
it's ok. Is tt possible to see in which part of JDK or JVM execution of this exception? I mean throw new ArrayIndexOutOfBoundsException()
or something like this? Is it impossible from the call for JNI calls?