(CNN)A measles quarantine has been ordered at two public universities in Los Angeles in an effort to try to prevent the spread of the highly contagious disease.

The order was announced by public health officials Thursday at the University of California, Los Angeles and California State University, Los Angeles for students, faculty and staff who were exposed to a confirmed case of measles and who cannot prove that they have been vaccinated against measles.