From 29b6f2ad9b8ec93a2d51bad2fdd7a11176068f40 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Wed, 15 Jun 2022 13:38:56 +0200 Subject: return username unchanged if it doesn't look like a phone number, cf. #88 --- .../gui/exceptions/InvalidNumberException.java | 42 ---------------------- 1 file changed, 42 deletions(-) delete mode 100644 pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java deleted file mode 100644 index 63b7f034..00000000 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/InvalidNumberException.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 - -/** - * - */ -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); - } -} -- cgit v1.2.3