Class ConstantFieldException
This exception was thrown when trying to set a constant field.
Inheritance
System.Object
ConstantFieldException
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class ConstantFieldException : Exception
Constructors
ConstantFieldException()
Initializes a new instance of the exception class.
Declaration
public ConstantFieldException()
ConstantFieldException(Int32)
Initializes a new instance of the exception class with a specified error.
Declaration
public ConstantFieldException(int tag)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tag | Field tag. |
ConstantFieldException(String)
Initializes a new instance of the exception class with a specified error.
Declaration
public ConstantFieldException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Error message. |
ConstantFieldException(String, Exception)
Initializes a new instance of the exception class with a specified error.
Declaration
public ConstantFieldException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Error message. |
Exception | innerException | Inner exception. |
Properties
Tag
Field tag.
Declaration
public int Tag { get; }
Property Value
Type | Description |
---|---|
System.Int32 |