40 #ifndef __OPENFLUID_WARE_WAREEXCEPTION_HPP__ 
   41 #define __OPENFLUID_WARE_WAREEXCEPTION_HPP__ 
   52 namespace openfluid { 
namespace ware {
 
   62       m_FullMessage = m_Message;
 
   63       m_FullMessage += 
" [" + m_Context.toString() + 
"]";
 
   71                   const std::string& Msg) :
 
   72       openfluid::base::Exception(Context,Msg)
 
   88       Context[
"source"] = 
"ware";
 
   89       Context[
"waretype"] = 
"unknown";
 
   92         Context[
"waretype"] = 
"observer";
 
   94         Context[
"waretype"] = 
"simulator";
 
   96       Context[
"wareid"] = ID;
 
ExceptionContext & addTimeIndex(const unsigned long long &TimeIndex)
Definition: ExceptionContext.hpp:82
SimulationStage
Definition: SimulationStatus.hpp:59
Definition: PluggableWare.hpp:101
static openfluid::base::ExceptionContext computeContext(const openfluid::ware::PluggableWare::WareType WType, const openfluid::ware::WareID_t &ID, const openfluid::base::SimulationStatus::SimulationStage Stage, openfluid::core::TimeIndex_t TimeIndex)
Definition: WareException.hpp:124
Definition: PluggableWare.hpp:101
WareException(const openfluid::base::ExceptionContext &Context, const std::string &Msg)
Definition: WareException.hpp:70
ExceptionContext & addStage(const std::string &StageStr)
Definition: ExceptionContext.hpp:120
void buildFullMessage()
Definition: WareException.hpp:60
static openfluid::base::ExceptionContext computeContext(const openfluid::ware::PluggableWare::WareType WType, const openfluid::ware::WareID_t &ID)
Definition: WareException.hpp:82
static std::string getStageAsString(const SimulationStage &Stage)
WareType
Definition: PluggableWare.hpp:101
Definition: ExceptionContext.hpp:53
static openfluid::base::ExceptionContext computeContext(const openfluid::ware::PluggableWare::WareType WType, const openfluid::ware::WareID_t &ID, const openfluid::base::SimulationStatus::SimulationStage Stage)
Definition: WareException.hpp:106
Definition: WareException.hpp:55
#define OPENFLUID_API
Definition: dllexport.hpp:87
unsigned long long TimeIndex_t
Definition: DateTime.hpp:62
Definition: Exception.hpp:52
std::string WareID_t
Definition: TypeDefs.hpp:50