CasViewerEclipsePlugin/uimaj-ep-casviewer-core/src/main/java/org/apache/uima/casviewer/core/internal/TypeSystemUtils2.java [111:130]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static TypeSystem getUIMABuiltInTypeSystem ()
    {
        TypeSystemDescription       typeSystemDesc = null;
        CAS tcas = null;
        try {
            tcas = CasCreationUtils.createCas(typeSystemDesc, null, new FsIndexDescription[0]);
            TypeSystem typeSystem = tcas.getTypeSystem();
            // RepositoryUtil.printTypeSystem (typeSystem);
            return typeSystem;
        } catch (ResourceInitializationException e1) {
            e1.printStackTrace();
            //  StringWriter msgBuffer = new StringWriter();
            //  PrintWriter msgWriter = new PrintWriter( msgBuffer );
            //  msgWriter.println(e1.toString()); //  printStackTrace());
            //  System.err.println("msgBuffer:" + msgBuffer.toString());
//          _errorCode = ERROR_UIMAEXCEPTION;
//          _errorMsg  = new String(e1.toString());
        }
        return null;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



CasViewerEclipsePlugin/uimaj-ep-casviewer-core/src/main/java/org/apache/uima/casviewer/core/internal/TypeTree.java [175:187]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static TypeSystem getUIMABuiltInTypeSystem ()
    {
        TypeSystemDescription       typeSystemDesc = null;
        CAS tcas = null;
        try {
            tcas = CasCreationUtils.createCas(typeSystemDesc, null, new FsIndexDescription[0]);
            TypeSystem typeSystem = tcas.getTypeSystem();
            return typeSystem;
        } catch (ResourceInitializationException e1) {
            e1.printStackTrace();
        }
        return null;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



