change to new sqlalchemy(0.9) exceptions