ln.http/exceptions/ResourceNotFoundException.cs

12 lines
341 B
C#
Raw Normal View History

2019-02-14 09:14:50 +01:00
using System;
namespace ln.http.exceptions
{
public class ResourceNotFoundException : HttpException
{
public ResourceNotFoundException(String resourcePath, String nextResource)
: base(404, String.Format("Could not find resource \"{0}\" within \"{1}\"", nextResource, resourcePath))
{
}
}
}