cyclus/cyclus — pull request #947 by rwcarlsen (2014-06-12 17:06:18+00:00)
Title: ResourceBuff improvements and better error handling.

* added eps arg to ResourceBuff::PopQty - default val is zero (we make no
presumptions)

* ResourceBuff re-zeros qty_ member if all resources have been popped - to
better deal with floating point issues.

* better error messages for ResourceBuff exceptions

* try-catch around RunSim to avoid core dumps when exceptions are thrown