T - Throwable subclass of ConstraintViolationExceptionpublic abstract class ConstraintExceptionMapper<T extends ConstraintViolationException> extends Object implements javax.ws.rs.ext.ExceptionMapper<T>
| Constructor and Description |
|---|
ConstraintExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Link |
buildConstraintLink(ConstraintViolationException e,
javax.ws.rs.core.UriInfo uriInfo)
Creates a constrainedBy link header with the appropriate RDF URL for the exception.
|
public ConstraintExceptionMapper()
public static javax.ws.rs.core.Link buildConstraintLink(ConstraintViolationException e, javax.ws.rs.core.UriInfo uriInfo)
e - ConstraintViolationException Exception which implements the buildContraintUri method.uriInfo - UriInfo UriInfo from the ExceptionMapper.Copyright © 2013-2017 DuraSpace, Inc.. All Rights Reserved.