removed deprecated BaseException

Removed deprecated `BaseException`