throw error if no handler method