Class QRBillValidationException
Exception thrown if the bill data is not valid.
Implements
Inherited Members
Namespace: Codecrete.SwissQRBill.Generator
Assembly: Codecrete.SwissQRBill.Core.dll
Syntax
[Serializable]
public class QRBillValidationException : Exception, ISerializable
Constructors
| Edit this page View SourceQRBillValidationException(ValidationResult)
Initializes a new instance with the specified validation result.
Declaration
public QRBillValidationException(ValidationResult result)
Parameters
Type | Name | Description |
---|---|---|
ValidationResult | result | The validation result. |
QRBillValidationException(SerializationInfo, StreamingContext)
Declaration
protected QRBillValidationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
Properties
| Edit this page View SourceMessage
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceResult
Gets the validation result with the error messages.
Declaration
public ValidationResult Result { get; }
Property Value
Type | Description |
---|---|
ValidationResult | The validation result. |