Added class base for exceptions