New exception class for exceptions in raw_SQL