public void GenerateObj() { try { base.ParseToXmlDocument(); _comprobante = (InvoiceValidator.CFDIClasses.Comprobante)Deserialize(_xmldocument, typeof(InvoiceValidator.CFDIClasses.Comprobante)); } catch (Exception E) { _comprobante = null; throw E; } }
public void GenerateObj() { try { base.ParseToXmlDocument(); _comprobante = (InvoiceValidator.CFDIClasses.Comprobante)Deserialize(_xmldocument, typeof(InvoiceValidator.CFDIClasses.Comprobante)); } catch (Exception E) { _comprobante = null; throw E; } }