Пример #1
0
        private void ThrowError(int index_file, CgnsDriver cg)
        {
            String s = cg.get_error();

            if (cg.close(index_file) != (int)Error.CG_OK)
            {
                s = s + " " + cg.get_error();
            }

            throw new ApplicationException(s);
        }
Пример #2
0
 private void ThrowError(CgnsDriver cg)
 {
     throw new ApplicationException(cg.get_error());
 }