# TopologyValidationException

Exception thrown when topology rendering receives invalid data.

 Class  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

[TopologyValidation.cs:43](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyValidation.cs#L43)

**Base**

`Exception`

**Implements**

 `ISerializable` 

**Modifiers**

sealed

Exception thrown when topology rendering receives invalid data.

## Inheritance

- Exception
- TopologyValidationException

 Filter members   

    Show inherited   

 

## Constructors

 `public TopologyValidationException(TopologyValidationResult result)` [#](#constructor-ctor-chartforgex-topology-topologyvalidationresult) 

[TopologyValidation.cs:43](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyValidation.cs#L43)

Initializes a new instance of the [TopologyValidationException](/api/chartforgex-topology-topologyvalidationexception/) class.

Parameters

**result ChartForgeX.Topology.TopologyValidationResult required**

The validation result.

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual Exception GetBaseException()` [#](#method-getbaseexception) 

Inherited from Exception

Returns

 `Exception` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public virtual void GetObjectData(SerializationInfo info, StreamingContext context)` [#](#method-getobjectdata-serializationinfo-streamingcontext) 

Inherited from Exception

 `Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")` `EditorBrowsable(1)` 

Parameters

**info SerializationInfo required**

**context StreamingContext required**

 `public Type GetType()` [#](#method-gettype) 

Inherited from Exception

Returns

 `Type` 

 `public override string ToString()` [#](#method-tostring) 

Inherited from Exception

Returns

 `string` 

## Properties

 `public TopologyValidationResult Result { get; }` [#](#property-result) 

[TopologyValidation.cs:48](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyValidation.cs#L48)

Gets the validation result.

## Inherited Properties

 `public MethodBase? TargetSite { get; }` [#](#property-targetsite) 

Inherited from Exception

 `public virtual string Message { get; }` [#](#property-message) 

Inherited from Exception

 `public virtual IDictionary Data { get; }` [#](#property-data) 

Inherited from Exception

 `public Exception? InnerException { get; }` [#](#property-innerexception) 

Inherited from Exception

 `public virtual string? HelpLink { get; set; }` [#](#property-helplink) 

Inherited from Exception

 `public virtual string? Source { get; set; }` [#](#property-source) 

Inherited from Exception

 `public int HResult { get; set; }` [#](#property-hresult) 

Inherited from Exception

 `public virtual string? StackTrace { get; }` [#](#property-stacktrace) 

Inherited from Exception

<!-- PowerForge markdown artifact sha256:7D88B21049DBE58FD12CD44EFC065CC23EEC4EB0F0CC1CC34FF7F8C33EAFB1C6 -->
