[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]