Uses of Class
ubic.gemma.rest.providers.AbstractExceptionMapper
Packages that use AbstractExceptionMapper
-
Uses of AbstractExceptionMapper in ubic.gemma.rest.providers
Subclasses of AbstractExceptionMapper in ubic.gemma.rest.providersModifier and TypeClassDescriptionclassMap Spring Security'sAccessDeniedExceptionto a 403 Forbidden response.classAnonBehalfOfthe server refuses to record is a bad request, not a permission failure: the caller may act for someone, but not under the name it gave.classHandles Spring SecurityAuthenticationExceptionby producing a 403 Forbidden response.classMaps aCurationCommitConflictExceptionto a 409 whoseerrors[0].reasonis the stable code for which conflict it was, so a client routes on the code rather than on the wording of the message.classclassThis mapper ensures that raisedNotFoundExceptionthroughout the API contain well-formedResponseErrorObjectentity.classMaps anOntologyTermValidationExceptionto a 400 whoseerrors[]carries one entry per failing term slot — each with a stablereasoncode, a human message naming the resolved label, and alocation(request-body path + clientRef) — so a client can self-correct without guessing.classRender unhandled exceptions.classMaps anUnknownQueryParameterExceptionto a 400 whoseerrors[]carries one entry per rejected parameter, each naming the parameter inlocationwithlocationTypeLocationType.QUERY.classMapWebApplicationExceptionso that it always expose aResponseErrorObjectentity.