Refactored groovy exception class to java to eliminate old Groovy -> Java 7/8 IncompatibleClassChangeError.