OpenMPCD
Public Member Functions | List of all members
OpenMPCD::AssertionException Class Reference

Represents an exception that is due to an assertion violation. More...

#include <Exceptions.hpp>

Inheritance diagram for OpenMPCD::AssertionException:
Inheritance graph
[legend]
Collaboration diagram for OpenMPCD::AssertionException:
Collaboration graph
[legend]

Public Member Functions

 AssertionException (const std::string &assertion)
 The constructor. More...
 
const std::string & getMessage () const
 Returns the exception message. More...
 

Detailed Description

Represents an exception that is due to an assertion violation.

Definition at line 64 of file Exceptions.hpp.

Constructor & Destructor Documentation

◆ AssertionException()

OpenMPCD::AssertionException::AssertionException ( const std::string &  assertion)
inline

The constructor.

Parameters
[in]assertionThe assertion that has been violated.

Definition at line 71 of file Exceptions.hpp.

Member Function Documentation

◆ getMessage()

const std::string& OpenMPCD::Exception::getMessage ( ) const
inlineinherited

Returns the exception message.

Definition at line 52 of file Exceptions.hpp.


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