COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | List of all members
FailedAssertion Struct Reference

#include <BasicExceptions.hpp>

Inherits Exception.

Public Member Functions

 FailedAssertion (const common::CodeLocation &where, const std::string &what)
 Constructor. More...
 
virtual ~FailedAssertion () throw ()
 
- Public Member Functions inherited from Exception
virtual ~Exception () throw ()
 Default copy constructor. More...
 
std::string full_description () const throw ()
 Returns a verbose message with all information about this exception. More...
 
const std::string & str () const throw ()
 Gets the what description string which does not contain EOL's. More...
 
const char * what () const throw ()
 
void append (const std::string &add) throw ()
 
std::string type_name () const throw ()
 
std::string msg () const throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from Exception
 Exception (CodeLocation where, std::string msg, std::string className) throw ()
 
- Protected Attributes inherited from Exception
CodeLocation m_where
 
std::string m_msg
 Stores the message with explanation of what happened. More...
 
std::string m_class_name
 The subclass name. More...
 
std::string m_what
 

Detailed Description

Exception thrown when an assertion fails but the code is configured to throw an exception rather than crash.

Author
Tiago Quintino

Definition at line 23 of file BasicExceptions.hpp.

Constructor & Destructor Documentation

FailedAssertion ( const common::CodeLocation where,
const std::string &  what 
)

Constructor.

Definition at line 16 of file BasicExceptions.cpp.

~FailedAssertion ( )
throw (
)
virtual

Definition at line 20 of file BasicExceptions.cpp.


The documentation for this struct was generated from the following files:
Send comments to:
COOLFluiD Web Admin