sharp-application-server/exceptions/ResourceNotFoundException.cs

12 lines
353 B
C#

using System;
namespace appsrv.exceptions
{
public class ResourceNotFoundException : ApplicationServerException
{
public ResourceNotFoundException(String resourcePath, String nextResource)
: base(404, String.Format("Could not find resource \"{0}\" within \"{1}\"", nextResource, resourcePath))
{
}
}
}