Use UnexpectedTypeException and fix typos

A use was missing and I take the opportunity to update all exceptions in listeners.