Ziks.WebServer/Controller.cs
/// <summary>
/// Helper that throws a <see cref="ControllerActionException"/> representing a 404 error.
/// </summary>
/// <param name="handled">
/// If false, the server will attempt to find another controller to handle the current request.
/// </param>
/// <returns>Never returns.</returns>
/// <exception cref="ControllerActionException">Always thrown.</exception>
Helper that throws a  representing a 404 error.
Helper that throws a representing a 404 error .
protected ControllerActionException NotFoundException( bool handled = false )
        {
            const string message = "The requested resource was not found.";
            throw new ControllerActionException( Request, handled, HttpStatusCode.NotFound, message );
        }
protected ControllerActionException NotFoundException ( bool handled = false ) { const string message = " " ; throw new ControllerActionException ( Request , handled , HttpStatusCode . NotFound , message ) ; }
Helper that throws a  representing a 404 error.
Helper that throws a representing a 404 error .
None
None
handled
bool
If false, the server will attempt to find another controller to handle the current request.
If false the server will attempt to find another controller to handle the current request .