you should add a use statement for the DBALException