Details
-
Bug
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
2.10.2SDK, 3.0.0SDK
-
None
-
None
Description
Code that uses JCas getView expects CasException to be thrown if a view is missing, but instead the underlying CAS.getView method throws CasRuntimeException.
Either the code or the Javadocs should be fixed. Since a missing view is not uncommon, throwing an unchecked exception is not very useful. Making the framework code match the Javadocs should have tminimal impact on existing user code.