DB_RAW exception handling