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 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:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.apache.jena.datatypes.DatatypeFormatException>