- Changed stack trace to work with Java 6