Asn1ConsVioException Class Reference
Public Member Functions | |
Asn1ConsVioException (System.String varname, System.String value) | |
Asn1ConsVioException (System.String varname, double value) | |
Asn1ConsVioException (System.String varname, long value) |
Detailed Description
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..
Constructor & Destructor Documentation
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".
- Parameters:
-
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".
- Parameters:
-
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".
- Parameters:
-
varname Name of variable that violates constraint value Value of variable