Essentia  2.1-beta6-dev
EssentiaException Class Reference

#include <types.h>

Inheritance diagram for EssentiaException:

Public Member Functions

 EssentiaException (const char *msg)
 
 EssentiaException (const std::string &msg)
 
 EssentiaException (const std::ostringstream &msg)
 
template<typename T , typename U >
 EssentiaException (const T &a, const U &b)
 
template<typename T , typename U , typename V >
 EssentiaException (const T &a, const U &b, const V &c)
 
template<typename T , typename U , typename V , typename W >
 EssentiaException (const T &a, const U &b, const V &c, const W &d)
 
virtual ~EssentiaException () throw ()
 
virtual const char * what () const throw ()
 

Protected Attributes

std::string _msg
 

Detailed Description

Exception class for Essentia. It has a whole slew of different constructors to make it as easy as possible to throw an exception with a descriptive message.

Constructor & Destructor Documentation

◆ EssentiaException() [1/6]

EssentiaException ( const char *  msg)
inline

◆ EssentiaException() [2/6]

EssentiaException ( const std::string &  msg)
inline

◆ EssentiaException() [3/6]

EssentiaException ( const std::ostringstream &  msg)
inline

◆ EssentiaException() [4/6]

EssentiaException ( const T &  a,
const U &  b 
)
inline

◆ EssentiaException() [5/6]

EssentiaException ( const T &  a,
const U &  b,
const V &  c 
)
inline

◆ EssentiaException() [6/6]

EssentiaException ( const T &  a,
const U &  b,
const V &  c,
const W &  d 
)
inline

◆ ~EssentiaException()

virtual ~EssentiaException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ what()

virtual const char* what ( ) const
throw (
)
inlinevirtual

Member Data Documentation

◆ _msg

std::string _msg
protected

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