public override void Perform() { try { TransItem.ExecuteTranslate(_PluginConfigName); } catch (Exception ex) { string BadTlogLocation = TransItem.PluginConfig.GetValue("BadTlogLocation"); System.IO.FileInfo file = new System.IO.FileInfo(TransItem.SourceFile); System.IO.File.Move(TransItem.SourceFile, BadTlogLocation + "\\" + file.Name); if (_ExceptHandler != null) { _ExceptHandler.Invoke(ex.GetType().GetProperties(), ex); } } }