TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
basda::gentec::PowerMeterException Class Reference

Power meters will use this exception. More...

#include <PowerMeterException.hpp>

Inheritance diagram for basda::gentec::PowerMeterException:
Inheritance graph
Collaboration diagram for basda::gentec::PowerMeterException:
Collaboration graph

Public Member Functions

 PowerMeterException (const std::string &message)
 
virtual const char * what () const throw ()
 
virtual ~PowerMeterException () throw ()
 
 PowerMeterException (const std::string &message)
 
virtual const char * what () const throw ()
 
virtual ~PowerMeterException () throw ()
 

Private Attributes

std::string message_
 

Detailed Description

Power meters will use this exception.

Constructor & Destructor Documentation

◆ PowerMeterException() [1/2]

basda::gentec::PowerMeterException::PowerMeterException ( const std::string &  message)
explicit
Precondition
message must not be empty

◆ ~PowerMeterException() [1/2]

basda::gentec::PowerMeterException::~PowerMeterException ( )
throw (
)
virtual

◆ PowerMeterException() [2/2]

basda::gentec::PowerMeterException::PowerMeterException ( const std::string &  message)
explicit
Precondition
message must not be empty

◆ ~PowerMeterException() [2/2]

virtual basda::gentec::PowerMeterException::~PowerMeterException ( )
throw (
)
virtual

Member Function Documentation

◆ what() [1/2]

const char * basda::gentec::PowerMeterException::what ( ) const
throw (
)
virtual

◆ what() [2/2]

virtual const char* basda::gentec::PowerMeterException::what ( ) const
throw (
)
virtual

Member Data Documentation

◆ message_

std::string basda::gentec::PowerMeterException::message_
private

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