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

es.gob.afirma.core.AOCancelledOperationException Maven / Gradle / Ivy

There is a newer version: 1.8.2
Show newest version
/* 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.core;

/** Excepción que indica una operación cancelada voluntariamente
 * por el usuario. */
public final class AOCancelledOperationException extends RuntimeException {

    private static final long serialVersionUID = 4447842480432712246L;

    /** Crea una excepción sin información adicional. */
    public AOCancelledOperationException() {
        super();
    }

    /** Crea la excepción con un mensaje determinado.
     * @param msg
     *        Mensaje descriptivo de la excepción. */
    public AOCancelledOperationException(final String msg) {
        super(msg);
    }

    /** Crea la excepción con un mensaje determinado y la causa que la originó.
     * @param msg
     *        Mensaje descriptivo de la excepción.
     * @param e
     * 		  Causa de la excepción.
     */
    public AOCancelledOperationException(final String msg, final Exception e) {
        super(msg, e);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy