diff options
Diffstat (limited to 'Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyValueException.java')
-rw-r--r-- | Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyValueException.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyValueException.java b/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyValueException.java new file mode 100644 index 00000000..3b3d96e9 --- /dev/null +++ b/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/InvalidPropertyValueException.java @@ -0,0 +1,16 @@ +package at.asit.pdfover.pdfsignator; + +import at.asit.pdfover.pdfsignator.profileproperties.ProfileProperty; + + +public class InvalidPropertyValueException extends Exception { + + /** + * + */ + private static final long serialVersionUID = -3823266882732616374L; + + public InvalidPropertyValueException(ProfileProperty property, String message) { + super(String.format("Invalid value for: %s: %s", property.GetKey(), message)); + } +} |