You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2015/05/29 00:32:17 UTC

[jira] [Resolved] (JENA-950) Throw specific exception on lucene query string parse errors.

     [ https://issues.apache.org/jira/browse/JENA-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-950.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Jena 3.0.0

> Throw specific exception on lucene query string parse errors.
> -------------------------------------------------------------
>
>                 Key: JENA-950
>                 URL: https://issues.apache.org/jira/browse/JENA-950
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki, Text
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 3.0.0
>
>
> If left to a bland TextIndexException, Fuseki will generate a 500 (server error due to runtime execution error) when it is really a client error 400 (bad request). While lucense query strings can be variables, this is very unusual and still not server error.
> Throw {{TextIndexParseException}}, subclass of {{QueryParseException}} to differentiate internal errors and dynamic parse errors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)