The exception I catch after signaling the token, shows the entire script that contined the error, not the line of my program that caused the error. The getCause() chain does not lead all the way to the bottom level exception I am seeking - makes debugging very hard.