~ubuntu-branches/ubuntu/oneiric/mpqc/oneiric

« back to all changes in this revision

Viewing changes to src/lib/chemistry/cca/except.cc

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2005-11-27 11:41:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051127114149-zgz9r3gk50w8ww2q
Tags: 2.3.0-1
* New upstream release.
* debian/rules (SONAME): Activate awk snippet for automatic so-name
  detection again, resulting in a bump to `7' and making a `c2a' for
  the C++ allocator change unnecessary; closes: #339232.
* debian/patches/00list (08_gcc-4.0_fixes): Removed, no longer needed.
* debian/rules (test): Remove workarounds, do not abort build if tests
  fail.
* debian/ref: Removed.
* debian/control.in (libsc): Added Conflict against libsc6c2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifdef __GNUG__
 
2
#pragma implementation
 
3
#endif
 
4
 
 
5
#include <errno.h>
 
6
 
 
7
#include "except.h"
 
8
 
 
9
errno_exception::~errno_exception() throw()
 
10
{
 
11
}
 
12
 
 
13
errno_exception::errno_exception(const std::string &wh)
 
14
{
 
15
  what_ = wh + ": " + strerror(errno);
 
16
}
 
17
 
 
18
const char *errno_exception::what() const throw ()
 
19
{
 
20
  return what_.c_str();
 
21
}