switch eventType to exceptionType - oops