summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:22:59 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:22:59 +0000
commit7bb4a282de9ebe26aa09b22df746e78b3171c47c (patch)
treefdeba8694cd05cba242c531fc1393c0c220c68a8 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions
parenta1208626fad77d9e09f88f7b9fdaae13d1adf0f2 (diff)
downloadmocca-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.java12
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);
+ }
}