Class OntologyTermValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ubic.gemma.rest.util.OntologyTermValidationException
- All Implemented Interfaces:
Serializable
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classATermViolationpaired with the request-body path it was found at (e.g. -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OntologyTermValidationException
-
-
Method Details
-
getViolations
-