public virtual bool SaveToFile(string fileName, out Exception exception) { exception = null; try { SaveToFile(fileName); return true; } catch (Exception e) { exception = e; return false; } }