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

br.com.swconsultoria.nfe.exception.NfeException Maven / Gradle / Ivy

There is a newer version: 4.00.34
Show newest version
package br.com.swconsultoria.nfe.exception;

/**
 * Exceção a ser lançada na ocorrência de falhas provenientes da Nota Fiscal Eletronica.
 * 
 * @author Samuel Oliveira - [email protected] - www.swconsultoria.com.br
 */
public class NfeException extends Exception {

	private static final long serialVersionUID = -5054900660251852366L;
	
	String message;
	
	/**
	 * Construtor da classe.
	 * 
	 * @param e
	 */
	public NfeException(Throwable e) {
		super(e);
	}

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

	/**
	 * Construtor da classe.
	 *
	 * @param message
	 * @param cause
	 */
	public NfeException(String message, Throwable cause) {
		this(cause);
		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