lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1447) Improve payload error handling/reporting
Date Fri, 14 Nov 2008 03:12:44 GMT

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

Mark Miller updated LUCENE-1447:
--------------------------------

    Attachment: LUCENE-1447.patch

Not sure whats best here, but I don't like the idea of adding another variable just to know
which case the error is. So how about just changing the message to alert you that either case
could be the problem?

> Improve payload error handling/reporting
> ----------------------------------------
>
>                 Key: LUCENE-1447
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1447
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Priority: Trivial
>             Fix For: 2.9
>
>         Attachments: LUCENE-1447.patch
>
>
> If you try to load a payload more than once you get the exception:  IOException("Payload
cannot be loaded more than once for the same term position.");
> You also get this exception if their is no payload to load, and its a bit confusing,
as the message doesn't relate to the actual problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message