mirror of
https://github.com/opensim/opensim.git
synced 2026-08-02 06:44:15 +08:00
replace external httpserver by embedded one (based on same code) - This may still be very bad; clean solution and runprebuild, or clone to clan folder
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Net;
|
||||
|
||||
namespace OSHttpServer.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
/// The requested resource was not found in the web server.
|
||||
/// </summary>
|
||||
public class NotFoundException : HttpException
|
||||
{
|
||||
/// <summary>
|
||||
/// Create a new exception
|
||||
/// </summary>
|
||||
/// <param name="message">message describing the error</param>
|
||||
/// <param name="inner">inner exception</param>
|
||||
public NotFoundException(string message, Exception inner) : base(HttpStatusCode.NotFound, message, inner)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create a new exception
|
||||
/// </summary>
|
||||
/// <param name="message">message describing the error</param>
|
||||
public NotFoundException(string message)
|
||||
: base(HttpStatusCode.NotFound, message)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user