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

Base CUDA exception. More...

#include <Exceptions.hpp>

Inheritance diagram for OpenMPCD::CUDA::Exception:
Inheritance graph
[legend]
Collaboration diagram for OpenMPCD::CUDA::Exception:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Base CUDA exception.

Definition at line 18 of file CUDA/Exceptions.hpp.

Constructor & Destructor Documentation

◆ Exception()

OpenMPCD::CUDA::Exception::Exception ( const std::string &  msg)
inline

The constructor.

Parameters
[in]msgThe error message.

Definition at line 25 of file CUDA/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: