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 -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(org.apache.jena.query.QueryParseException e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fcrepo.http.commons.exceptionhandlers.ExceptionDebugLogging
debugException
-
Constructor Details
-
QueryParseExceptionMapper
public QueryParseExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<org.apache.jena.query.QueryParseException>
-