modification of the impl of exception