- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
try
{
...
if (obj == null)
{
LogManager.GetLogger("Log").Warn(msg);
throw new SoapException("Object not found", SoapException.ServerFaultCode);
}
}
catch (Exception ex)
{
LogManager.GetLogger("Log").Error(msg, ex);
throw new SoapException("Object not found, SoapException.ServerFaultCode, ex);
}