adding exception classes for DB