removed deprecated BaseException