title: Exception Safety in Qt
body: <p><a href="http://en.wikipedia.org/wiki/Exception_handling#Exception_safety" rel="noreferrer" title="Wikipedia">Wikipedia</a> says that "A piece of code is said to be exception-safe, if run-time failures within the code will not produce ill effects, such as memory leaks, garbled stored data, or invalid output. Exception-safe code must satisfy invariants placed on the code even if exceptions occur." </p>
  
  <p>And it seems that we need exception handling for exception safety. Ot the other hand, exception handling is not very popular in Qt applications as long as I see.</p>
  
  <p>What are your best practices in Qt to satisfy exception safety? What do you use instead of exception handling?</p>