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

Exception for out-of-bounds access. More...

#include <Exceptions.hpp>

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

Public Member Functions

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

Detailed Description

Exception for out-of-bounds access.

Definition at line 112 of file Exceptions.hpp.

Constructor & Destructor Documentation

◆ OutOfBoundsException()

OpenMPCD::OutOfBoundsException::OutOfBoundsException ( const std::string &  msg)
inline

The constructor.

Parameters
[in]msgThe exception message.

Definition at line 119 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: