Set the previous exception