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