diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-10-31 16:37:00 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-10-31 16:37:00 +0000 |
commit | 09033835c5b43b93c74153690463a0a89fac5b69 (patch) | |
tree | 8e8f841f92e93874c48138008941fbc7eba89ef2 /trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java | |
parent | 228ed8c792a5f310431484149619671b6e397395 (diff) | |
download | pdf-over-09033835c5b43b93c74153690463a0a89fac5b69.tar.gz pdf-over-09033835c5b43b93c74153690463a0a89fac5b69.tar.bz2 pdf-over-09033835c5b43b93c74153690463a0a89fac5b69.zip |
Add a common base class for all Exceptions
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12757 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java new file mode 100644 index 00000000..bdfbe41d --- /dev/null +++ b/trunk/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); + } + +} |