Scarab  v2.4.5
Project 8 C++ Utility Library
error.cc
Go to the documentation of this file.
1 
2 #define SCARAB_API_EXPORTS
3 
4 #include "error.hh"
5 
6 namespace scarab
7 {
8 
10  ::std::exception(),
11  f_error()
12  {
13  }
14 
15  error::error( const error& an_error ) :
16  std::exception(),
17  f_error( an_error.f_error )
18  {
19  }
20 
21  error::~error() throw ()
22  {
23  }
24 
25  const char* error::what() const throw ()
26  {
27  return f_error.c_str();
28  }
29 
30 }
STL namespace.
virtual const char * what() const
Definition: error.cc:25
std::string f_error
Definition: error.hh:28