Table of Contents

Class VanityUrlPathCollisionException

Namespace
CMS.Websites
Assembly
CMS.Websites.dll

Thrown when the new web page vanity URL path conflicts with the URL path of another web page.

[Serializable]
public sealed class VanityUrlPathCollisionException : Exception
Inheritance
object
Exception
VanityUrlPathCollisionException
Extension Methods

Constructors

VanityUrlPathCollisionException()

Initializes a new instance of VanityUrlPathCollisionException.

public VanityUrlPathCollisionException()

VanityUrlPathCollisionException(string)

Initializes a new instance of VanityUrlPathCollisionException.

public VanityUrlPathCollisionException(string message)

Parameters

message string

The message that describes the error.

VanityUrlPathCollisionException(string, IEnumerable<CollisionData>)

Initializes a new instance of VanityUrlPathCollisionException.

public VanityUrlPathCollisionException(string message, IEnumerable<CollisionData> collisions)

Parameters

message string

The message that describes the error.

collisions IEnumerable<CollisionData>

List of colliding URL paths.

VanityUrlPathCollisionException(string, IEnumerable<CollisionData>, Exception)

Initializes a new instance of VanityUrlPathCollisionException.

public VanityUrlPathCollisionException(string message, IEnumerable<CollisionData> collisions, Exception inner)

Parameters

message string

The message that describes the error.

collisions IEnumerable<CollisionData>

List of colliding URL paths.

inner Exception

Inner exception.

Properties

Collisions

Gets web page URL path collisions.

public IEnumerable<CollisionData> Collisions { get; }

Property Value

IEnumerable<CollisionData>