Class QRBillValidationError

  • All Implemented Interfaces:
    java.io.Serializable

    public class QRBillValidationError
    extends java.lang.RuntimeException
    Exception thrown if the bill data is not valid.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ValidationResult getValidationResult()
      Gets the validation result with the error messages.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • QRBillValidationError

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

      • getValidationResult

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