Author: areshetnyak
Date: 2011-05-12 02:58:50 -0400 (Thu, 12 May 2011)
New Revision: 4375
Modified:
core/trunk/exo.core.component.document/src/main/java/org/exoplatform/services/document/impl/tika/TikaDocumentReader.java
Log:
EXOJCR-1334 : Fix problem with throwing RuntimeException in TikaDocumentReader.
Modified:
core/trunk/exo.core.component.document/src/main/java/org/exoplatform/services/document/impl/tika/TikaDocumentReader.java
===================================================================
---
core/trunk/exo.core.component.document/src/main/java/org/exoplatform/services/document/impl/tika/TikaDocumentReader.java 2011-05-12
06:15:30 UTC (rev 4374)
+++
core/trunk/exo.core.component.document/src/main/java/org/exoplatform/services/document/impl/tika/TikaDocumentReader.java 2011-05-12
06:58:50 UTC (rev 4375)
@@ -346,10 +346,6 @@
{
throw (IOException)cause;
}
- else if (cause instanceof RuntimeException)
- {
- throw (RuntimeException)cause;
- }
else
{
throw new DocumentReadException("Can not get properties: " +
cause.getMessage(), cause);
Show replies by date