Exemple #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);
        }
Exemple #2
0
        static private void ThrowError(int index_file, CgnsDriver cg)
        {
            String s = cg.get_error();

            throw new ApplicationException(s);
        }
Exemple #3
0
 static private void ThrowError(CgnsDriver cg)
 {
     throw new ApplicationException(cg.get_error());
 }