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); }
static private void ThrowError(int index_file, CgnsDriver cg) { String s = cg.get_error(); throw new ApplicationException(s); }
static private void ThrowError(CgnsDriver cg) { throw new ApplicationException(cg.get_error()); }