Fix style of DatabaseExceptions