Class QRBillValidationError

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.codecrete.qrbill.generator.QRBillValidationError
All Implemented Interfaces:
Serializable

public class QRBillValidationError extends RuntimeException
Exception thrown if the bill data is not valid.
See Also:
  • Constructor Details

    • QRBillValidationError

      public QRBillValidationError(ValidationResult validationResult)
      Constructs a new instance with the specified validation result.
      Parameters:
      validationResult - validation result
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getValidationResult

      public ValidationResult getValidationResult()
      Gets the validation result with the error messages.
      Returns:
      the validation result