Richard Eckart de Castilho created UIMA-5552:
------------------------------------------------
Summary: uv3: Get JCas instance in JCas class
Key: UIMA-5552
URL: https://issues.apache.org/jira/browse/UIMA-5552
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
Affects Versions: 3.0.0SDK-beta
Reporter: Richard Eckart de Castilho
In the new JCas FS classes, it is no longer possible to access the JCas
instance conveniently. With UIMA v2, is was possible to get the JCas containing
a feature structure via `jcasType.jcas`. Now, one has to do a
`getCAS().getJCas()` but that requires catching a CASException. It would be
nice to have a convenience method `getJCas()` in JCas FS classes that does not
throw an exception.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)