summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:10:19 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:10:19 +0000
commit940249260fd6a8de36a5739afd818eaab2e05bd1 (patch)
tree851e7d3847c28c18a879917fad242365e5904db6 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java
parent0e63e608c06f3ec9b81b067ee5529219b5b3ca1e (diff)
downloadpdf-over-940249260fd6a8de36a5739afd818eaab2e05bd1.tar.gz
pdf-over-940249260fd6a8de36a5739afd818eaab2e05bd1.tar.bz2
pdf-over-940249260fd6a8de36a5739afd818eaab2e05bd1.zip
Add a common base class for all Exceptions
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@171 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java58
1 files changed, 58 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java
new file mode 100644
index 00000000..bdfbe41d
--- /dev/null
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2012 by A-SIT, Secure Information Technology Center Austria
+ *
+ * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by
+ * the European Commission - subsequent versions of the EUPL (the "Licence");
+ * You may not use this work except in compliance with the Licence.
+ * You may obtain a copy of the Licence at:
+ * http://joinup.ec.europa.eu/software/page/eupl
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the Licence is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the Licence for the specific language governing permissions and
+ * limitations under the Licence.
+ */
+package at.asit.pdfover.gui.exceptions;
+
+/**
+ * Base class for GUI Exceptions
+ */
+public class PDFOverGUIException extends Exception {
+ /**
+ * Serial Version UID
+ */
+ private static final long serialVersionUID = -3942861617701033882L;
+
+ /**
+ * Constructor
+ */
+ public PDFOverGUIException() {
+ }
+
+ /**
+ * Constructor
+ * @param msg Exception message
+ */
+ public PDFOverGUIException(String msg) {
+ super(msg);
+ }
+
+ /**
+ * Constructor
+ * @param cause Exception causing this one
+ */
+ public PDFOverGUIException(Throwable cause) {
+ super(cause);
+ }
+
+ /**
+ * Constructor
+ * @param msg Exception message
+ * @param cause Exception causing this one
+ */
+ public PDFOverGUIException(String msg, Throwable cause) {
+ super(msg, cause);
+ }
+
+}