Fixed class Exception not being found