tumi8 / vermont

Vermont (VERsatile MONitoring Toolkit) is an open-source software toolkit for the creation and processing of network flow data.
https://www.net.in.tum.de/research/software/#vermont
GNU General Public License v2.0
58 stars 22 forks source link

replaced the exception in the destructor with a msg #102

Closed evintila closed 6 years ago

evintila commented 6 years ago

Exceptions are not to be thrown from destructors. Normally I would have moved the closing of the file in a separate method, but calling it messes up the design (needs specialization of the CfgHelper template class). Instead, an error message is displayed -- aborting seems to drastic in this case.