SPHinXsys  alpha version
Public Member Functions | List of all members
SPH::InvalidTemplateArgument Class Reference

Inherits SPH::Exception.

Public Member Functions

 InvalidTemplateArgument (const std::string &file, size_t line, const std::string &func, const std::string &msg)
 
- Public Member Functions inherited from SPH::Exception
 Exception (const std::string &aMsg="", const std::string &aFile="", int aLine=-1)
 Default Constructor. More...
 
 Exception (const std::string &file, size_t line, const std::string &func)
 Call this constructor from derived classes to add file, line and function information to the error message. Use this when throwing Derived classes. Use OPENSIM_THROW_<> macros at throw sites.

 
 Exception (const std::string &file, size_t line, const std::string &func, const std::string &msg)
 Use this when you want to throw an Exception and also provide a message.
 
virtual ~Exception () throw ()
 
void setMessage (const std::string &aMsg)
 
const char * getMessage () const
 
virtual void print (std::ostream &aOut) const
 
const char * what () const noexcept override
 

Additional Inherited Members

- Protected Member Functions inherited from SPH::Exception
void addMessage (const std::string &msg)
 

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