reckart opened a new issue, #437:
URL: https://github.com/apache/uima-uimaj/issues/437

   **Describe the bug**
   ResourceInitializationException wrapped in ResourceInitializationException 
when thrown in `initialize` method.
   
   **Expected behavior**
   When the exception is already a `ResourceInitializationException` it should 
be re-thrown instead be being wrapped.
   
   **PrimitiveAnalysisEngine_impl:250**
   ```
       } catch (Exception e) {
         throw new ResourceInitializationException(
                 
ResourceInitializationException.ANNOTATOR_INITIALIZATION_FAILED,
                 new Object[] { annotatorClassName, 
mDescription.getSourceUrlString() }, e);
       } finally {
         UimaContextHolder.setContext(prevContext);
       }
   ```
   
   **Please complete the following information:**
    - Version: 3.6.0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@uima.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to