xrechnung-kit API reference

Exception

Table of Contents

Classes

MappingDataException
Thrown at MappingData (or any of its component value objects) construction when an invariant is violated: invalid country code, negative quantity, malformed Leitweg-ID, currency mismatch, etc.
XRechnungKitException
Root of the kit's exception hierarchy. Per architecture section 11 the kit surfaces three exception families, all extending this base: Mapping DataException (thrown at value-object construction), GenerationException (thrown by the Generator), and ValidationException (thrown only when validateOrThrow is used).

        
On this page

Search results