ASN1C C# Runtime Library
7.2
|
Public Member Functions | |
Asn1ConsVioException (System.String varname, long value) | |
Asn1ConsVioException (System.String varname, double value) | |
Asn1ConsVioException (System.String varname, System.String value) | |
Public Member Functions inherited from Asn1Exception | |
Asn1Exception (System.String message) | |
Asn1Exception (System.String message, System.Exception innerException) | |
Asn1Exception (Asn1DecodeBuffer buffer, System.String message) | |
This class defines the 'ASN.1 constraint violation' exception that is thrown when an element is parsed that is outside the bounds to a defined constraint..
Asn1ConsVioException | ( | System.String | varname, |
long | value | ||
) |
This constructor creates an exception object with a standard message based on the given variable name and value. The form of the message is "Element 'varname' with value 'value' violates defined constraint".
varname | Name of variable that violates constraint |
value | Value of variable |
Asn1ConsVioException | ( | System.String | varname, |
double | value | ||
) |
This constructor creates an exception object with a standard message based on the given variable name and value. The form of the message is "Element 'varname' with value 'value' violates defined constraint".
varname | Name of variable that violates constraint |
value | Value of variable |
Asn1ConsVioException | ( | System.String | varname, |
System.String | value | ||
) |
This constructor creates an exception object with a standard message based on the given variable name and value. The form of the message is "Element 'varname' with value 'value' violates defined constraint".
varname | Name of variable that violates constraint |
value | Value of variable |