You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Lee Hinman (JIRA)" <ji...@apache.org> on 2014/05/28 15:15:02 UTC
[jira] [Updated] (LUCENE-5710) DefaultIndexingChain swallows useful
information from MaxBytesLengthExceededException
[ https://issues.apache.org/jira/browse/LUCENE-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lee Hinman updated LUCENE-5710:
-------------------------------
Attachment: LUCENE-5710.patch
Attaching patch that includes the original exception's message in the IllegalArgumentException message.
> DefaultIndexingChain swallows useful information from MaxBytesLengthExceededException
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-5710
> URL: https://issues.apache.org/jira/browse/LUCENE-5710
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/index
> Affects Versions: 4.8.1
> Reporter: Lee Hinman
> Priority: Minor
> Attachments: LUCENE-5710.patch
>
>
> In DefaultIndexingChain, when a MaxBytesLengthExceededException is caught, the original message is discarded, however, the message contains useful information like the size that exceeded the limit.
> Lucene should make this information included in the newly thrown IllegalArgumentException.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org