br.com.swconsultoria.mdfe.exception.MdfeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-mdfe Show documentation
Show all versions of java-mdfe Show documentation
API Java para consumo do WebService de MDFe
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;
}
}