getExceptionClass should be named exceptionClass