Package net.codecrete.qrbill.generator
Class QRBillValidationError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.codecrete.qrbill.generator.QRBillValidationError
- All Implemented Interfaces:
Serializable
Exception thrown if the bill data is not valid.
- See Also:
-
Constructor Summary
ConstructorDescriptionQRBillValidationError
(ValidationResult validationResult) Constructs a new instance with the specified validation result. -
Method Summary
Modifier and TypeMethodDescriptionGets the validation result with the error messages.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QRBillValidationError
Constructs a new instance with the specified validation result.- Parameters:
validationResult
- validation result
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getValidationResult
Gets the validation result with the error messages.- Returns:
- the validation result
-