Package br.com.flexait.gateway.model

Examples of br.com.flexait.gateway.model.Erro


    try {
      fromXML = xstream.fromXML(toString);
    } catch (Exception e) {
      GatewayService.log.error(e);
     
      Erro erro = new Erro();
      erro.setCodigo("EINV");
      erro.setMensagem("Erro de parse do xml: " + toString);
      erro.setDetalhes("EINV");
      return erro;         
    }
   
    return fromXML;
  }
View Full Code Here


  public Retorno getRetorno() throws Exception {
    Object object = toObject();
   
    Transacao transacao = null;
    Erro erro = null;
   
    Class<? extends Object> type = object.getClass();
    if(type.isAssignableFrom(Transacao.class)) {
      transacao = (Transacao) object;
    }
View Full Code Here

TOP

Related Classes of br.com.flexait.gateway.model.Erro

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.