Watch Daug Class
19/12/2011 17:52
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CASA.Utils
{
public class WatchDawg
{
//Write exception in XML File
public static void CatchError(Exception ex)
{
try
{
string errMsg = ex.Message;
string source = ex.Source;
string stacktrace = ex.StackTrace;
Logging.WriteErrorLog(errMsg, source, stacktrace);
}
catch { }
}
}
}