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

br.com.swconsultoria.mdfe.exception.MdfeException Maven / Gradle / Ivy

The newest version!
package br.com.swconsultoria.mdfe.exception;

/**
 * Exceção a ser lançada na ocorrência de falhas provenientes do MDFe.
 *
 * @author Samuel Oliveira - [email protected] - www.samuelweb.com.br
 */
public class MdfeException extends Exception {

    private static final long serialVersionUID = -5054900660251852366L;

    private String message;

    /**
     * Construtor da classe.
     *
     * @param e
     */
    public MdfeException(Throwable e) {
        super(e);
    }


    /**
     * Construtor da classe.
     *
     * @param code
     */
    public MdfeException(String message) {
        this((Throwable) null);
        this.message = message;
    }

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    /**
     * @param message the message to set
     */
    public void setMessage(String message) {
        this.message = message;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy