optimize ice throw Exception code