GRAILS-10336 - mark exception classes with @CompileStatic