I have
throw new IndexOutOfBoundsException();
line in my code. Unfortunately, this exception has no any effect: i.e. no message appeared and no program crash.
This is because code is called from somewhere in system library and there exception is caught and processed.
How to find this place?
If I press F8
on this line, I jump to the code inside Scene
:
try { tm = dndGesture.processTargetDrop(dragEvent); } finally { DragboardHelper.setDataAccessRestriction( dndGesture.dragboard, true); }
but does this code catches an exception? I think it should just execute finally
block and then go to somewhere's catch
block. But this doesn't happen: if I continue pressing F8
I see no any try/catch/finally
blocks.
How can this happen?