return exception id