Package | Description |
---|---|
org.fcrepo.http.commons.exceptionhandlers |
A variety of JAX-RS
ExceptionMapper s handlers. |
org.fcrepo.kernel.api.exception |
Kernel exception classes.
|
org.fcrepo.kernel.modeshape.rdf.impl |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintExceptionMapper<T extends ConstraintViolationException>
Abstract class for constraint violation subclasses
|
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Link |
ConstraintExceptionMapper.buildConstraintLink(ConstraintViolationException e,
javax.servlet.ServletContext context,
javax.ws.rs.core.UriInfo uriInfo)
Creates a constrainedBy link header with the appropriate RDF URL for the exception.
|
javax.ws.rs.core.Response |
ConstraintViolationExceptionMapper.toResponse(ConstraintViolationException e) |
Modifier and Type | Class and Description |
---|---|
class |
ACLAuthorizationConstraintViolationException |
class |
CannotCreateResourceException
Request for object creation failed
|
class |
ExternalMessageBodyException
Indicates that an external body request has failed
|
class |
IncorrectTripleSubjectException
Represents the condition that an attempt has been made to persist RDF to the repository as properties of a
particular resource, but the subject of a triple in that RDF is not the resource in question.
|
class |
InteractionModelViolationException
An Interaction Model constraint has been violated.
|
class |
InvalidACLException |
class |
InvalidMementoPathException
An invalid memento path constraint has been violated.
|
class |
MalformedRdfException
Indicates that RDF was presented for persistence to the repository, but could not be persisted for some reportable
reason.
|
class |
OutOfDomainSubjectException
Fedora does not accept RDF with subjects that are not local to the repository.
|
class |
RequestWithAclLinkHeaderException
Request failed with ACL link header
|
class |
ServerManagedPropertyException |
class |
ServerManagedTypeException
Certain mixin types are managed by the repository only.
|
Modifier and Type | Method and Description |
---|---|
static void |
RequiredPropertiesUtil.assertRequiredContainerTriples(org.apache.jena.rdf.model.Model model)
Throws a ConstraintViolationException if the model does not contain all required server-managed triples for a
container.
|
static void |
RequiredPropertiesUtil.assertRequiredDescriptionTriples(org.apache.jena.rdf.model.Model model)
Throws a ConstraintViolationException if the model does not contain all required server-managed triples for a
binary description.
|
Copyright © 2013–2018 DuraSpace, Inc.. All rights reserved.