All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.gob.afirma.signers.pades.InvalidPdfException Maven / Gradle / Ivy

/* Copyright (C) 2011 [Gobierno de Espana]
 * This file is part of "Cliente @Firma".
 * "Cliente @Firma" is free software; you can redistribute it and/or modify it under the terms of:
 *   - the GNU General Public License as published by the Free Software Foundation;
 *     either version 2 of the License, or (at your option) any later version.
 *   - or The European Software License; either version 1.1 or (at your option) any later version.
 * You may contact the copyright holder at: [email protected]
 */

package es.gob.afirma.signers.pades;

import es.gob.afirma.core.AOFormatFileException;

/** Excepción para notificar que se ha proporcionado un fichero que no es un PDF o es un
 * PDF no soportado / inválido / corrupto.
 * @author Tomás García-Merás */
public final class InvalidPdfException extends AOFormatFileException {

	private static final long serialVersionUID = 674827105543544636L;

	/** Crea una excepción para notificar que se ha proporcionado un fichero que no es un PDF
	 * @param e Excepción de orien */
	public InvalidPdfException(final Exception e) {
		super("El fichero no es un PDF o es un PDF no soportado", e); //$NON-NLS-1$
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy