confluent-kafka-dotnet
Show / Hide Table of Contents

Class ValidationRulesFailedException

Thrown when one or more inline validation rules fail during serialization.

Inheritance
object
Exception
ValidationRulesFailedException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class ValidationRulesFailedException : Exception, ISerializable

Constructors

ValidationRulesFailedException(IList<ValidationRuleError>)

Creates a new exception aggregating the given violations.

Declaration
public ValidationRulesFailedException(IList<ValidationRuleError> violations)
Parameters
Type Name Description
IList<ValidationRuleError> violations

Properties

Violations

Every violation found during the walk.

Declaration
public IList<ValidationRuleError> Violations { get; }
Property Value
Type Description
IList<ValidationRuleError>

Implements

ISerializable
In this article