C# Class Azavea.Open.Common.LoggingException

This exception logs its message and parent exception (if any) as "debug" log messages, allowing run-time debugging if it is discovered that an exception is being eaten somewhere. Normally an exception will be logged by client code, so there is no need to log a warning everywhere one is generated.
Inheritance: System.ApplicationException
Show file Open project: azavea/net-om-utils-common

Protected Properties

Property Type Description
_log log4net.ILog

Public Methods

Method Description
LoggingException ( string message ) : System

Creates the exception.

LoggingException ( string message, Exception e ) : System

Creates the exception, with an inner exception.

Method Details

LoggingException() public method

Creates the exception.
public LoggingException ( string message ) : System
message string What went wrong?
return System

LoggingException() public method

Creates the exception, with an inner exception.
public LoggingException ( string message, Exception e ) : System
message string What went wrong?
e System.Exception Another exception that caused this one to be thrown.
return System

Property Details

_log protected property

A log4net logger that can be used to log info about the exception.
protected ILog,log4net _log
return log4net.ILog