Package com.atomgraph.server.mapper
Class SPINConstraintViolationExceptionMapper
java.lang.Object
com.atomgraph.server.mapper.ExceptionMapperBase
com.atomgraph.server.mapper.SPINConstraintViolationExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<SPINConstraintViolationException>
public class SPINConstraintViolationExceptionMapper
extends ExceptionMapperBase
implements javax.ws.rs.ext.ExceptionMapper<SPINConstraintViolationException>
- Author:
- Martynas Jusevičius <martynas@atomgraph.com>
-
Constructor Summary
ConstructorsConstructorDescriptionSPINConstraintViolationExceptionMapper(com.atomgraph.core.MediaTypes mediaTypes) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseMethods inherited from class com.atomgraph.server.mapper.ExceptionMapperBase
getEncodings, getLanguages, getMediaTypes, getRequest, getResponseBuilder, getUriInfo, getVariants, getVariants, getWritableMediaTypes, toResource
-
Constructor Details
-
SPINConstraintViolationExceptionMapper
@Inject public SPINConstraintViolationExceptionMapper(com.atomgraph.core.MediaTypes mediaTypes)
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<SPINConstraintViolationException>
-