Class InvalidCodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.itextpdf.text.zugferd.exceptions.InvalidCodeException
-
- All Implemented Interfaces:
Serializable
public class InvalidCodeException extends Exception
This exception is thrown when you try to create a ZUGFeRD XML file using data that doesn't have the correct format, e.g. you have entered "S" (which is a Tax Category code) when a Tax Type code is expected.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidCodeException(String code, String context)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-