gandalfcode / gandalf

GANDALF (Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids)
GNU General Public License v2.0
44 stars 12 forks source link

- Replaced all/most exit(0) statements with throwing exceptions #53

Closed dhubber closed 8 years ago

dhubber commented 8 years ago

Replaced as many exit statements with exceptions as I thought safe to do so. There are still a few exits, but they are either in Exception.cpp file (which I believe need to be there) or in the chealpix.c file (which I don't want to touch atm).