The law, known as the Pain-Capable Unborn Child Protection Act, includes exceptions for cases of rape, incest, or risk to the mother's life.