diff options
| author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-13 11:56:26 +0100 |
|---|---|---|
| committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-13 11:56:26 +0100 |
| commit | 1b9d5e1e569a8454132d268c3e9f1597bd5a20fc (patch) | |
| tree | e19f42e9b81dc504e6f99936e78821ad253e95fc /trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions | |
| parent | caf2ce502968c0e28d11be1c4f606178b3c44a15 (diff) | |
| download | pdf-over-1b9d5e1e569a8454132d268c3e9f1597bd5a20fc.tar.gz pdf-over-1b9d5e1e569a8454132d268c3e9f1597bd5a20fc.tar.bz2 pdf-over-1b9d5e1e569a8454132d268c3e9f1597bd5a20fc.zip | |
Guard against empty error messages
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions')
| -rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java index c373a423..63b7f034 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java +++ b/trunk/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); + } } |
