Table of Contents

Class InvalidGraphException

Namespace
SpatialNET.Network
Assembly
SpatialNET.Network.dll

Thrown when the data of a network cannot be a network (ADR 0049): an edge points to a node that the graph does not return, a weight is missing without a fallback, or a cost is negative, NaN or infinite.

public sealed class InvalidGraphException : InvalidOperationException, ISerializable

Inheritance

Implements

Inherited Members

Constructors

InvalidGraphException()

Creates the exception with a default message.

public InvalidGraphException()

InvalidGraphException(string)

Creates the exception with a message that names the ids involved.

public InvalidGraphException(string message)

Parameters

message string

InvalidGraphException(string, Exception)

Creates the exception with a message and the exception that caused it.

public InvalidGraphException(string message, Exception innerException)

Parameters

message string
innerException Exception