Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
openfluid::ware::WareException Class Reference

#include <ware/WareException.hpp>

Inheritance diagram for openfluid::ware::WareException:
Inheritance graph
[legend]
Collaboration diagram for openfluid::ware::WareException:
Collaboration graph
[legend]

Public Member Functions

 WareException ()=delete
 
 WareException (const openfluid::base::ExceptionContext &Context, const std::string &Msg)
 
- Public Member Functions inherited from openfluid::base::Exception
 Exception ()=delete
 
virtual ~Exception () throw ()
 
const char * what () const throw ()
 
const std::string getMessage () const
 
const std::string getFullMessage () const
 
const ExceptionContext getContext () const
 

Static Public Member Functions

static openfluid::base::ExceptionContext computeContext (const WareType WType, const WareID_t &ID)
 
static openfluid::base::ExceptionContext computeContext (const WareType WType, const WareID_t &ID, const openfluid::base::SimulationStatus::SimulationStage Stage)
 
static openfluid::base::ExceptionContext computeContext (const WareType WType, const WareID_t &ID, const openfluid::base::SimulationStatus::SimulationStage Stage, openfluid::core::TimeIndex_t TimeIndex)
 

Protected Member Functions

void buildFullMessage ()
 
- Protected Member Functions inherited from openfluid::base::Exception
 Exception (const std::string &Msg)
 
 Exception (const ExceptionContext &Context, const std::string &Msg)
 

Additional Inherited Members

- Protected Attributes inherited from openfluid::base::Exception
std::string m_Message
 
ExceptionContext m_Context
 
std::string m_FullMessage
 

Constructor & Destructor Documentation

◆ WareException() [1/2]

openfluid::ware::WareException::WareException ( )
delete

◆ WareException() [2/2]

openfluid::ware::WareException::WareException ( const openfluid::base::ExceptionContext Context,
const std::string &  Msg 
)
inline

Member Function Documentation

◆ buildFullMessage()

void openfluid::ware::WareException::buildFullMessage ( )
inlineprotectedvirtual

◆ computeContext() [1/3]

static openfluid::base::ExceptionContext openfluid::ware::WareException::computeContext ( const WareType  WType,
const WareID_t ID 
)
inlinestatic

◆ computeContext() [2/3]

static openfluid::base::ExceptionContext openfluid::ware::WareException::computeContext ( const WareType  WType,
const WareID_t ID,
const openfluid::base::SimulationStatus::SimulationStage  Stage 
)
inlinestatic

◆ computeContext() [3/3]

static openfluid::base::ExceptionContext openfluid::ware::WareException::computeContext ( const WareType  WType,
const WareID_t ID,
const openfluid::base::SimulationStatus::SimulationStage  Stage,
openfluid::core::TimeIndex_t  TimeIndex 
)
inlinestatic

The documentation for this class was generated from the following file: