fixed exception class on retrying