You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2020/03/31 12:57:00 UTC
[jira] [Created] (TIKA-3079) Replace assertions with TikaException
Tim Allison created TIKA-3079:
---------------------------------
Summary: Replace assertions with TikaException
Key: TIKA-3079
URL: https://issues.apache.org/jira/browse/TIKA-3079
Project: Tika
Issue Type: Task
Reporter: Tim Allison
Assignee: Tim Allison
I recently noticed that some of our parsers (esp. the RTFParser) rely extensively on assertions. My guess is that the original intent was that users could turn on assertions for a strict parser and leave them off for a lenient parser.
I propose removing these assertions and throwing TikaExceptions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)