Fixed Exception classes hierarchy: DAOQueryException extends Exception instead of SQLException.