diff options
Diffstat (limited to 'Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyTypeException.java')
-rw-r--r-- | Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyTypeException.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyTypeException.java b/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyTypeException.java new file mode 100644 index 00000000..8f9d54a9 --- /dev/null +++ b/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyTypeException.java @@ -0,0 +1,16 @@ +package at.asit.pdfover.pdfsignator; + +import at.asit.pdfover.pdfsignator.profileproperties.ProfileProperty; +import at.asit.pdfover.pdfsignator.profileproperties.validators.PropertyValidator; + +public class InvalidPropertyTypeException extends Exception { + /** + * + */ + private static final long serialVersionUID = 6174277563400848906L; + + public InvalidPropertyTypeException(ProfileProperty property, PropertyValidator validator) { + super(String.format("Cannot add validator: %s to Property: %s (incompatible)", + validator.getClass().getName(), property.getClass().getName())); + } +} |