Class OntologyTermValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ubic.gemma.rest.util.OntologyTermValidationException
All Implemented Interfaces:
Serializable

public class OntologyTermValidationException extends RuntimeException
Thrown when one or more submitted ontology terms fail grounding validation on a write. Carries every failing slot (across the whole request, not just the first) so a single 400 response tells the client exactly what to fix; mapped to a structured body by OntologyTermValidationExceptionMapper.
Author:
gemma
See Also: