public void Generate() { try { base.CreateXmlDocument(); _comprobante = (InvoiceValidator.CFDClasses.Comprobante)Deserialize(_xmldocument, typeof(InvoiceValidator.CFDClasses.Comprobante)); } catch (Exception E) { _comprobante = null; throw E; } }