From 09033835c5b43b93c74153690463a0a89fac5b69 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 31 Oct 2012 16:37:00 +0000 Subject: 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 --- .../gui/exceptions/PDFOverGUIException.java | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java (limited to 'trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/PDFOverGUIException.java') 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); + } + +} -- cgit v1.2.3