[ https://issues.apache.org/jira/browse/LUCENE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-3539: --------------------------------------- Attachment: LUCENE-3539.patch New patch folding in Robert's idea.... I added final String resourceDescription to II, returned from toString, made it required arg to the ctor, and fix all II subclasses to pass something reasonable. When our II impls originate an exception (eg from EOF), I also include II.toString(); if a method they call throws IOE (eg file.read(...) inside SimpleFSII), then I catch & rethrow w/ II.toString() included. I also include the sub-file name when inside a sliced II (CFS/CFX); I added a required arg (sliceDescription) to the sliceInput method for this. > IndexFormatTooOld/NewExc should try to include fileName + directory when > possible > --------------------------------------------------------------------------------- > > Key: LUCENE-3539 > URL: https://issues.apache.org/jira/browse/LUCENE-3539 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.5, 4.0 > > Attachments: LUCENE-3539.patch, LUCENE-3539.patch > > > (Spinoff from http://markmail.org/thread/t6s7nn3ve765nojc ) > When we throw a too old/new exc we should try to include the full path to the > offending file, if possible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org