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)