Class DescriptorValidationException
Thrown when building descriptors fails because the source DescriptorProtos are not valid.
Inheritance
System.Object
System.Exception
DescriptorValidationException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Google.Protobuf.Reflection
Assembly: Google.Protobuf.dll
Syntax
public sealed class DescriptorValidationException : Exception, ISerializable, _Exception
Properties
Description
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String | A human-readable description of the error. (The Message property is made up of the descriptor's name and this description.) |
ProblemSymbolName
Declaration
public string ProblemSymbolName { get; }
Property Value
Type | Description |
---|---|
System.String | The full name of the descriptor where the error occurred. |