modify exception to  Raise error