added error exception in noninf