Change CdbException to subclass Exception