Package | Description |
---|---|
org.fcrepo.http.commons.exceptionhandlers |
A variety of JAX-RS
ExceptionMapper s handlers. |
Modifier and Type | Class and Description |
---|---|
class |
AccessControlExceptionMapper
Translate JCR AccessControlExceptions into HTTP 403 Forbidden errors
|
class |
AccessControlJavaSecurityExceptionMapper
Translate Java Security AccessControlExceptions into HTTP 403 Forbidden errors
|
class |
AccessDeniedExceptionMapper |
class |
BadRequestExceptionMapper
For generic BadRequestExceptions.
|
class |
ClientErrorExceptionMapper |
class |
ConstraintViolationExceptionMapper |
class |
FedoraInvalidNamespaceExceptionMapper
For invalid namespace exceptions on CRUD actions for nodes/datastreams
|
class |
HeaderValueExceptionMapper
If a client-provided header value fails to parse, return an HTTP 400 Bad Request.
|
class |
IncorrectTripleSubjectExceptionMapper |
class |
InvalidChecksumExceptionMapper
Translate InvalidChecksumException errors into reasonable
HTTP error codes
|
class |
InvalidPrefixExceptionMapper
For invalid namespace exceptions on CRUD actions for nodes/datastreams
|
class |
InvalidResourceIdentifierExceptionMapper
The class translates
InvalidResourceIdentifierException s to its proper
response code. |
class |
ItemNotFoundExceptionMapper
Translate jcr ItemNotFoundException to HTTP 404 Not Found
|
class |
JsonParseExceptionMapper
If an injected JSON resource fails to parse, return an HTTP 400 Bad Request.
|
class |
LabelExistsVersionExceptionMapper
Translate LabelExistsVersionException errors into reasonable
HTTP error codes
|
class |
MalformedRdfExceptionMapper |
class |
OutOfDomainSubjectExceptionMapper |
class |
ParamExceptionMapper
Handle Jersey ParamException
|
class |
PathNotFoundExceptionMapper
Translate PathNotFound exceptions into HTTP 404 errors
|
class |
QueryParseExceptionMapper
Handles Sparql query parsing exceptions thrown when querying or updating.
|
class |
RepositoryExceptionMapper
Provide a quasi-useful stacktrace when a generic RepositoryException is caught
|
class |
RepositoryRuntimeExceptionMapper |
class |
RepositoryVersionRuntimeExceptionMapper |
class |
ResourceTypeExceptionMapper |
class |
ServerErrorExceptionMapper |
class |
ServerManagedPropertyExceptionMapper |
class |
ServerManagedTypeExceptionMapper |
class |
SessionMissingExceptionMapper
If a session is requested that has been closed (or never existed), just
return an HTTP 410 Gone.
|
class |
TombstoneExceptionMapper |
class |
VersionExceptionMapper |
class |
WebApplicationExceptionMapper
Handle Jersey WebApplicationException
|
class |
WildcardExceptionMapper
Catch all the exceptions!
|
Modifier and Type | Method and Description |
---|---|
default void |
ExceptionDebugLogging.debugException(ExceptionDebugLogging context,
Throwable error,
org.slf4j.Logger logger)
Log a Throwable at the DEBUG level, log the stacktrace at the TRACE level.
|
Copyright © 2013–2016 DuraSpace, Inc.. All rights reserved.