Replaced ActiveRecordException class with Exception interface