highlighter application  1.1
HCE project utils : highlighter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
ExceptionBase.cpp
Go to the documentation of this file.
1 #include "ExceptionBase.hpp"
2 
3 namespace HCE
4 {
5  namespace exception
6  {
7  ExceptionBase::ExceptionBase(const ExceptionBase &exp):Poco::Exception(std::string(exp.what()))
8  {
9  expVector.insert(expVector.begin(), exp.expVector.begin(), exp.expVector.end());
10  }
11 
12  void ExceptionBase::setInternalException(Poco::SharedPtr<ExceptionBase> &exception) throw()
13  {
14  expVector.push_back(exception);
15  }
16  }
17 }