using System;
using System.Runtime.Serialization;
using System.Web;
namespace Umbraco.Web.Mvc
{
///
/// Exception that occurs when an Umbraco form route string is invalid
///
///
[Serializable]
public sealed class HttpUmbracoFormRouteStringException : HttpException
{
///
/// Initializes a new instance of the class.
///
public HttpUmbracoFormRouteStringException()
{ }
///
/// Initializes a new instance of the class.
///
/// The that holds the serialized object data about the exception being thrown.
/// The that holds the contextual information about the source or destination.
private HttpUmbracoFormRouteStringException(SerializationInfo info, StreamingContext context)
: base(info, context)
{ }
///
/// Initializes a new instance of the class.
///
/// The error message displayed to the client when the exception is thrown.
public HttpUmbracoFormRouteStringException(string message)
: base(message)
{ }
///
/// Initializes a new instance of the class.
///
/// The error message displayed to the client when the exception is thrown.
/// The , if any, that threw the current exception.
public HttpUmbracoFormRouteStringException(string message, Exception innerException)
: base(message, innerException)
{ }
}
}