It has to extend DBALException.