Add class and trace from exception