private void logAndThrow(Exception e, JCasImpl jcasView) {
CASRuntimeException casEx = new CASRuntimeException(CASRuntimeException.JCAS_CAS_MISMATCH,
new String[] { (null == jcasView)? "-- ignore outer msg, error is can''t get value of jcas from cas"
: (jcasView.getType(type).casType.getName() + "; exception= "
+ e.getClass().getName() + "; msg= " + e.getLocalizedMessage())});
casEx.initCause(e);
throw casEx;
}
private int getSofaNbr(int addr, CASImpl casView) {
final LowLevelCAS llCas = casView.getLowLevelCAS();