// if (aSrcCasView == ((CASImpl)aSrcCasView).getBaseCAS() ||
// aTgtCasView == ((CASImpl)aTgtCasView).getBaseCAS())
// throw new UIMARuntimeException(UIMARuntimeException.UNSUPPORTED_CAS_COPY_TO_OR_FROM_BASE_CAS, null);
if (mSrcBaseCas != ((CASImpl)aSrcCasView).getBaseCAS()) {
throw new UIMARuntimeException(UIMARuntimeException.VIEW_NOT_PART_OF_CAS, new Object[] {"Source"});
}
if (mDestBaseCas != ((CASImpl)aTgtCasView).getBaseCAS()) {
throw new UIMARuntimeException(UIMARuntimeException.VIEW_NOT_PART_OF_CAS, new Object[] {"Destination"});
}
mSrcCasViewName = aSrcCasView.getViewName();
mTgtCasViewName = aTgtCasView.getViewName();
if (null == mSrcCasViewName || null == mTgtCasViewName ) {
throw new UIMARuntimeException(UIMARuntimeException.UNSUPPORTED_CAS_COPY_TO_OR_FROM_BASE_CAS, null);
}
mLowLevelDestCas = mDestBaseCas.getLowLevelCAS();
// The top level sofa associated with this view is copied (or not)