27 |
using System.Diagnostics; |
using System.Diagnostics; |
28 |
|
|
29 |
using RomCheater.Core; |
using RomCheater.Core; |
30 |
|
using Enterprise.Logging; |
31 |
|
|
32 |
namespace System.Windows.Forms |
namespace System.Windows.Forms |
33 |
{ |
{ |
891 |
catch (InvalidCastException ex) |
catch (InvalidCastException ex) |
892 |
{ |
{ |
893 |
Exception ex1 = new Exception("Unable to Convert ListViewItem to ResultItem in ResultItemCollection.Contains(ListViewItem item)", ex); |
Exception ex1 = new Exception("Unable to Convert ListViewItem to ResultItem in ResultItemCollection.Contains(ListViewItem item)", ex); |
894 |
logger.Error.WriteLine("avp.contains(ListViewItem item): invalid cast"); |
gLog.Error.WriteLine("avp.contains(ListViewItem item): invalid cast"); |
895 |
logger.Error.WriteLine(ex1.ToString()); |
gLog.Verbose.Error.WriteLine(ex1.ToString()); |
896 |
return false; |
return false; |
897 |
} |
} |
898 |
catch (Exception ex) |
catch (Exception ex) |
899 |
{ |
{ |
900 |
logger.Error.WriteLine("avp.contains(): exception"); |
gLog.Error.WriteLine("avp.contains(): exception"); |
901 |
logger.Error.WriteLine(ex.ToString()); |
gLog.Verbose.Error.WriteLine(ex.ToString()); |
902 |
return false; |
return false; |
903 |
} |
} |
904 |
} |
} |
927 |
catch (Exception ex) |
catch (Exception ex) |
928 |
{ |
{ |
929 |
Exception ex1 = new Exception("Caught non-Argument or Index OutOfRangeException in: ResultItemCollection.Contains(ListViewItem item, int index)", ex); |
Exception ex1 = new Exception("Caught non-Argument or Index OutOfRangeException in: ResultItemCollection.Contains(ListViewItem item, int index)", ex); |
930 |
logger.Error.WriteLine("avp.contains(ResultItem item): Exception"); |
gLog.Error.WriteLine("avp.contains(ResultItem item): Exception"); |
931 |
logger.Error.WriteLine(ex1.ToString()); |
gLog.Verbose.Error.WriteLine(ex1.ToString()); |
932 |
return false; |
return false; |
933 |
} |
} |
934 |
} |
} |