示例#1
0
文件: Shell.cs 项目: bbyars/CM.NET
        private static void ThrowIfFailed(SystemProcess process)
        {
            if (process.WasSuccessful)
                return;

            throw new ApplicationException(process.ToString());
        }
示例#2
0
 private void LogFailure(SystemProcess process)
 {
     log.Error(process.ToString());
     throw new Exception("svn command failed");
 }