From 9cd5dec6b94b85c41deb88453e87489fb7f9769f Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Mon, 1 Apr 2019 10:38:54 +0200 Subject: new exception added --- .../gui/exceptions/ATrustConnectionException.java | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ATrustConnectionException.java (limited to 'pdf-over-gui') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ATrustConnectionException.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ATrustConnectionException.java new file mode 100644 index 00000000..ae350bf2 --- /dev/null +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ATrustConnectionException.java @@ -0,0 +1,41 @@ +/* + * 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; + +// Imports +import java.io.File; + +import at.asit.pdfover.gui.utils.Messages; + +/** + * + */ +public class ATrustConnectionException extends Exception { + /** + * + */ + private static final long serialVersionUID = -5826910929587650685L; + + /** + * Constructor + * @param file + */ + public ATrustConnectionException() { + super(Messages.getString("error.ATrustConnection")); //$NON-NLS-1$ + } + + +} -- cgit v1.2.3