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