using System;
namespace OSHttpServer
{
///
/// An unhandled exception have been caught by the system.
///
public class ExceptionEventArgs : EventArgs
{
private readonly Exception _exception;
///
/// Initializes a new instance of the class.
///
/// Caught exception.
public ExceptionEventArgs(Exception exception)
{
_exception = exception;
}
///
/// caught exception
///
public Exception Exception
{
get { return _exception; }
}
}
}