They are exempt from prosecution for misdemeanors committed in the line of duty. Nothing in the Constitution protects anyone from felony charges, including the President of the United States of America.