using System;
using System.Net;
namespace OSHttpServer.Exceptions
{
///
/// The requested resource was not found in the web server.
///
public class NotFoundException : HttpException
{
///
/// Create a new exception
///
/// message describing the error
/// inner exception
public NotFoundException(string message, Exception inner) : base(HttpStatusCode.NotFound, message, inner)
{
}
///
/// Create a new exception
///
/// message describing the error
public NotFoundException(string message)
: base(HttpStatusCode.NotFound, message)
{
}
}
}