Package org.fcrepo.http.commons.exceptionhandlers
A variety of JAX-RS
ExceptionMapper
s handlers.- Author:
- osmandin
-
Interface Summary Interface Description ExceptionDebugLogging -
Class Summary Class Description AccessControlJavaSecurityExceptionMapper Translate Java Security AccessControlExceptions into HTTP 403 Forbidden errorsAccessDeniedExceptionMapper BadRequestExceptionMapper For generic BadRequestExceptions.CannotCreateMementoExceptionMapper A mapper for memento creation exceptionsCannotCreateResourceExceptionMapper ClientErrorExceptionMapper ConcurrentUpdateExceptionMapper ConstraintExceptionMapper<T extends ConstraintViolationException> Abstract class for constraint violation subclassesConstraintViolationExceptionMapper ExternalContentAccessExceptionMapper ExternalContentException mapperExternalMessageBodyExceptionMapper If an External Content Link header isn't formatted correctly or missing something, return a Bad Request error.FedoraInvalidNamespaceExceptionMapper For invalid namespace exceptions on CRUD actions for nodes/datastreamsGhostNodeExceptionMapper Map an GhostNodeException to a response.HeaderValueExceptionMapper If a client-provided header value fails to parse, return an HTTP 400 Bad Request.IncorrectTripleSubjectExceptionMapper InsufficientStorageExceptionMapper Translate InsufficientStorageException errors into HTTP error codesInteractionModelViolationExceptionMapper InterruptedExceptionMapper If an HTTP request's processing is interrupted, return an HTTP 503 Service Unavailable.InvalidACLExceptionMapper Translate InvalidACLExceptions into HTTP 409 CONFLICT errorsInvalidChecksumExceptionMapper Translate InvalidChecksumException errors into reasonable HTTP error codesInvalidMementoPathExceptionMapper InvalidPrefixExceptionMapper For invalid namespace exceptions on CRUD actions for nodes/datastreamsInvalidResourceIdentifierExceptionMapper The class translatesInvalidResourceIdentifierException
s to its proper response code.ItemNotFoundExceptionMapper Catch ItemNotFoundExceptionJsonParseExceptionMapper If an injected JSON resource fails to parse, return an HTTP 400 Bad Request.MementoDatetimeFormatExceptionMapper Handle MementoDatetimeFormatException with HTTP 400 Bad Request.MultipleConstraintViolationExceptionMapper Mapper to display all the various constrainedby links and messages.OutOfDomainSubjectExceptionMapper ParamExceptionMapper Handle Jersey ParamExceptionPathNotFoundExceptionMapper Catch PathNotFoundExceptionPathNotFoundRuntimeExceptionMapper Catch PathNotFoundRuntimeException(s)PersistentItemConflictExceptionMapper Maps PersistentItemConflictException to an appropriate http response.PreconditionExceptionMapper Maps PreconditionException to an appropriate http response.QueryParseExceptionMapper Handles Sparql query parsing exceptions thrown when querying or updating.RepositoryExceptionMapper Provide a quasi-useful stacktrace when a generic RepositoryException is caughtRepositoryRuntimeExceptionMapper RepositoryVersionRuntimeExceptionMapper RequestWithAclLinkHeaderExceptionMapper ResourceTypeExceptionMapper ServerErrorExceptionMapper ServerManagedPropertyExceptionMapper ServerManagedTypeExceptionMapper SessionMissingExceptionMapper If a session is requested that has been closed (or never existed), just return an HTTP 410 Gone.TombstoneExceptionMapper TransactionRuntimeExceptionMapper Mapper for transaction exceptionsUnsupportedAlgorithmExceptionMapper Translate UnsupportedAlgorithmException errors into reasonable HTTP error codesUnsupportedMediaTypeExceptionMapper UnsupportedMediaType mapperWebApplicationExceptionMapper Handle Jersey WebApplicationExceptionWildcardExceptionMapper Catch all the exceptions!