Table of Contents

Class UrlPathCollisionException

Namespace
CMS.Websites
Assembly
CMS.Websites.dll

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

public sealed class UrlPathCollisionException : Exception
Inheritance
object
Exception
UrlPathCollisionException
Extension Methods

Constructors

UrlPathCollisionException()

Initializes a new instance of UrlPathCollisionException.

public UrlPathCollisionException()

UrlPathCollisionException(string)

Initializes a new instance of UrlPathCollisionException.

public UrlPathCollisionException(string message)

Parameters

message string

The message that describes the error.

UrlPathCollisionException(string, IEnumerable<CollisionData>)

Initializes a new instance of UrlPathCollisionException.

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

Parameters

message string

The message that describes the error.

collisions IEnumerable<CollisionData>

List of colliding URL paths.

UrlPathCollisionException(string, IEnumerable<CollisionData>, Exception)

Initializes a new instance of UrlPathCollisionException.

public UrlPathCollisionException(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>