diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:22:59 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:22:59 +0000 |
commit | 7bb4a282de9ebe26aa09b22df746e78b3171c47c (patch) | |
tree | fdeba8694cd05cba242c531fc1393c0c220c68a8 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions | |
parent | a1208626fad77d9e09f88f7b9fdaae13d1adf0f2 (diff) | |
download | mocca-7bb4a282de9ebe26aa09b22df746e78b3171c47c.tar.gz mocca-7bb4a282de9ebe26aa09b22df746e78b3171c47c.tar.bz2 mocca-7bb4a282de9ebe26aa09b22df746e78b3171c47c.zip |
Guard against empty error messages
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@290 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java index c373a423..63b7f034 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java @@ -27,10 +27,16 @@ public class InvalidNumberException extends PDFOverGUIException { private static final long serialVersionUID = -4201886410518715443L; /** - * + * Empty constructor */ public InvalidNumberException() { - } - + + /** + * Constructor with a message parameter + * @param msg Error message + */ + public InvalidNumberException(String msg) { + super(msg); + } } |