source: ThirdParty/mpqc_open/src/lib/chemistry/cca/except.cc@ 7516f6

Action_Thermostats Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision
Last change on this file since 7516f6 was 860145, checked in by Frederik Heber <heber@…>, 8 years ago

Merge commit '0b990dfaa8c6007a996d030163a25f7f5fc8a7e7' as 'ThirdParty/mpqc_open'

  • Property mode set to 100644
File size: 316 bytes
Line 
1#ifdef __GNUG__
2#pragma implementation
3#endif
4
5#include <errno.h>
6
7#include "except.h"
8
9errno_exception::~errno_exception() throw()
10{
11}
12
13errno_exception::errno_exception(const std::string &wh)
14{
15 what_ = wh + ": " + strerror(errno);
16}
17
18const char *errno_exception::what() const throw ()
19{
20 return what_.c_str();
21}
Note: See TracBrowser for help on using the repository browser.