throw error when the methods has not been implemented