Class QueryParseExceptionMapper
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.QueryParseExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.apache.jena.query.QueryParseException>
,ExceptionDebugLogging
@Provider public class QueryParseExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.apache.jena.query.QueryParseException>, ExceptionDebugLogging
Handles Sparql query parsing exceptions thrown when querying or updating.- Since:
- September 9, 2014
- Author:
- whikloj
-
-
Constructor Summary
Constructors Constructor Description QueryParseExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(org.apache.jena.query.QueryParseException e)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.http.commons.exceptionhandlers.ExceptionDebugLogging
debugException
-
-
-
-
Constructor Detail
-
QueryParseExceptionMapper
public QueryParseExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(org.apache.jena.query.QueryParseException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<org.apache.jena.query.QueryParseException>
-
-