Update BaseActiveRecord.php

The exceptions thrown on error are db exceptions.