nesta rotina quando o arquivo existe
retorna um erro
private void retObjWriter()
{
StreamWriter writer = null;
try
{
writer = new StreamWriter(@"C:\ARQUIVOS\arquivo.txt");
}
catch (Exception ex)
{
ex.ToString();
}
this.writer = writer;
}