From 535a04fa05f739ec16dd81666e3b0f82dfbd442d Mon Sep 17 00:00:00 2001 From: tknall Date: Wed, 9 Jan 2013 15:41:29 +0000 Subject: pdf-as-lib maven project files moved to pdf-as-lib git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/pdf-as/trunk@926 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../exceptions/framework/CorrectorException.java | 56 --------------- .../framework/PlaceholderExtractionException.java | 79 ---------------------- .../exceptions/framework/SignatorException.java | 60 ---------------- .../framework/VerificationFilterException.java | 60 ---------------- .../framework/VerificatorFactoryException.java | 69 ------------------- 5 files changed, 324 deletions(-) delete mode 100644 src/main/java/at/gv/egiz/pdfas/exceptions/framework/CorrectorException.java delete mode 100644 src/main/java/at/gv/egiz/pdfas/exceptions/framework/PlaceholderExtractionException.java delete mode 100644 src/main/java/at/gv/egiz/pdfas/exceptions/framework/SignatorException.java delete mode 100644 src/main/java/at/gv/egiz/pdfas/exceptions/framework/VerificationFilterException.java delete mode 100644 src/main/java/at/gv/egiz/pdfas/exceptions/framework/VerificatorFactoryException.java (limited to 'src/main/java/at/gv/egiz/pdfas/exceptions/framework') diff --git a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/CorrectorException.java b/src/main/java/at/gv/egiz/pdfas/exceptions/framework/CorrectorException.java deleted file mode 100644 index ed2329f..0000000 --- a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/CorrectorException.java +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Copyright 2006 by Know-Center, Graz, Austria - * PDF-AS has been contracted by the E-Government Innovation Center EGIZ, a - * joint initiative of the Federal Chancellery Austria and Graz University of - * Technology. - * - * 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://www.osor.eu/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. - * - * This product combines work with different licenses. See the "NOTICE" text - * file for details on the various modules and licenses. - * The "NOTICE" text file is part of the distribution. Any derivative works - * that you distribute must include a readable copy of the "NOTICE" text file. - */ -package at.gv.egiz.pdfas.exceptions.framework; - -import at.knowcenter.wag.egov.egiz.exceptions.PresentableException; - -/** - * Exceptions thrown by Correctors. - * - * @author wprinz - * - */ -public class CorrectorException extends PresentableException -{ - /** - * SVUID. - */ - private static final long serialVersionUID = -8646964226476111797L; - - public CorrectorException(int errorCode, String message, Throwable cause) - { - super(errorCode, message, cause); - } - - public CorrectorException(int errorCode, String message) - { - super(errorCode, message); - } - - public CorrectorException(int errorCode, Throwable cause) - { - super(errorCode, cause); - } - -} diff --git a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/PlaceholderExtractionException.java b/src/main/java/at/gv/egiz/pdfas/exceptions/framework/PlaceholderExtractionException.java deleted file mode 100644 index 62792c8..0000000 --- a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/PlaceholderExtractionException.java +++ /dev/null @@ -1,79 +0,0 @@ -/** - * Copyright 2006 by Know-Center, Graz, Austria - * PDF-AS has been contracted by the E-Government Innovation Center EGIZ, a - * joint initiative of the Federal Chancellery Austria and Graz University of - * Technology. - * - * 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://www.osor.eu/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. - * - * This product combines work with different licenses. See the "NOTICE" text - * file for details on the various modules and licenses. - * The "NOTICE" text file is part of the distribution. Any derivative works - * that you distribute must include a readable copy of the "NOTICE" text file. - */ -package at.gv.egiz.pdfas.exceptions.framework; - -import at.gv.egiz.pdfas.exceptions.ErrorCode; -import at.knowcenter.wag.egov.egiz.exceptions.PresentableException; - -/** - * Exceptions thrown if STRICT matching mode for placeholder extraction is set and no placeholder could be found. - * - * @author exthex - * - */ -public class PlaceholderExtractionException extends PresentableException -{ - private static final long serialVersionUID = 0L; - - /** - * Constructor. - * - * @param errorCode the error code - * @param message the additional message - * @param cause the causing exception - * - * @see ErrorCode#SIGNATURE_PLACEHOLDER_EXTRACTION_FAILED - */ - public PlaceholderExtractionException(int errorCode, String message, Throwable cause) - { - super(errorCode, message, cause); - } - - /** - * Constructor. - * - * @param errorCode the error code - * @param message the additional message - * - * @see ErrorCode#SIGNATURE_PLACEHOLDER_EXTRACTION_FAILED - */ - public PlaceholderExtractionException(int errorCode, String message) - { - super(errorCode, message); - } - - /** - * Constructor. - * - * @param errorCode the error code - * @param cause the causing exception - * - * @see ErrorCode#SIGNATURE_PLACEHOLDER_EXTRACTION_FAILED - */ - public PlaceholderExtractionException(int errorCode, Throwable cause) - { - super(errorCode, cause); - } - -} diff --git a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/SignatorException.java b/src/main/java/at/gv/egiz/pdfas/exceptions/framework/SignatorException.java deleted file mode 100644 index 0e819eb..0000000 --- a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/SignatorException.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Copyright 2006 by Know-Center, Graz, Austria - * PDF-AS has been contracted by the E-Government Innovation Center EGIZ, a - * joint initiative of the Federal Chancellery Austria and Graz University of - * Technology. - * - * 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://www.osor.eu/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. - * - * This product combines work with different licenses. See the "NOTICE" text - * file for details on the various modules and licenses. - * The "NOTICE" text file is part of the distribution. Any derivative works - * that you distribute must include a readable copy of the "NOTICE" text file. - */ -package at.gv.egiz.pdfas.exceptions.framework; - -import at.knowcenter.wag.egov.egiz.exceptions.PresentableException; - - -/** - * Exception thrown by the Signators. - * @author wprinz - */ -public class SignatorException extends PresentableException -{ - - /** - * SVUID. - */ - private static final long serialVersionUID = 5051232904560832089L; - - public SignatorException(int error_code, String message, Throwable cause) - { - super(error_code, message, cause); - } - - public SignatorException(int error_code, String message) - { - super(error_code, message); - } - - public SignatorException(int error_code, Throwable cause) - { - super(error_code, cause); - } - - public SignatorException(PresentableException pe) - { - super(pe.getErrorCode(), pe); - } -} diff --git a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/VerificationFilterException.java b/src/main/java/at/gv/egiz/pdfas/exceptions/framework/VerificationFilterException.java deleted file mode 100644 index 92ef04d..0000000 --- a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/VerificationFilterException.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Copyright 2006 by Know-Center, Graz, Austria - * PDF-AS has been contracted by the E-Government Innovation Center EGIZ, a - * joint initiative of the Federal Chancellery Austria and Graz University of - * Technology. - * - * 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://www.osor.eu/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. - * - * This product combines work with different licenses. See the "NOTICE" text - * file for details on the various modules and licenses. - * The "NOTICE" text file is part of the distribution. Any derivative works - * that you distribute must include a readable copy of the "NOTICE" text file. - */ -package at.gv.egiz.pdfas.exceptions.framework; - -import at.knowcenter.wag.egov.egiz.exceptions.PresentableException; - -/** - * Wrapper exception for the VerificationFilter. - * - * @author wprinz - */ -public class VerificationFilterException extends PresentableException -{ - /** - * SVUID. - */ - private static final long serialVersionUID = -3863253910537746742L; - - public VerificationFilterException(int errorCode, String message, Throwable cause) - { - super(errorCode, message, cause); - } - - public VerificationFilterException(int errorCode, String message) - { - super(errorCode, message); - } - - public VerificationFilterException(int errorCode, Throwable cause) - { - super(errorCode, cause); - } - - public VerificationFilterException(PresentableException cause) - { - super(cause.getErrorCode(), cause); - } - -} diff --git a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/VerificatorFactoryException.java b/src/main/java/at/gv/egiz/pdfas/exceptions/framework/VerificatorFactoryException.java deleted file mode 100644 index 93d26cc..0000000 --- a/src/main/java/at/gv/egiz/pdfas/exceptions/framework/VerificatorFactoryException.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Copyright 2006 by Know-Center, Graz, Austria - * PDF-AS has been contracted by the E-Government Innovation Center EGIZ, a - * joint initiative of the Federal Chancellery Austria and Graz University of - * Technology. - * - * 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://www.osor.eu/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. - * - * This product combines work with different licenses. See the "NOTICE" text - * file for details on the various modules and licenses. - * The "NOTICE" text file is part of the distribution. Any derivative works - * that you distribute must include a readable copy of the "NOTICE" text file. - */ -package at.gv.egiz.pdfas.exceptions.framework; - -import at.gv.egiz.pdfas.exceptions.ErrorCode; -import at.knowcenter.wag.egov.egiz.exceptions.PresentableException; - -/** - * @author wprinz - * - */ -public class VerificatorFactoryException extends PresentableException -{ - - /** - * - */ - private static final long serialVersionUID = 8765156531863056335L; - - /** - * @param errorCode - * @param message - */ - public VerificatorFactoryException(String message) - { - super(ErrorCode.COULDNT_VERIFY, message); - } - - /** - * @param errorCode - * @param message - * @param cause - */ - public VerificatorFactoryException(String message, Throwable cause) - { - super(ErrorCode.COULDNT_VERIFY, message, cause); - } - - /** - * @param errorCode - * @param cause - */ - public VerificatorFactoryException(Throwable cause) - { - super(ErrorCode.COULDNT_VERIFY, cause); - } - -} -- cgit v1.2.3