Added errorCode to DAOException
Purchase ticket method fix