call InvalidArgumentException inside the current component