12 lines
341 B
C#
12 lines
341 B
C#
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))
|
|
{
|
|
}
|
|
}
|
|
}
|