shark::TypedFeatureNotAvailableException< Feature > Class Template Reference

Exception indicating the attempt to use a feature which is not supported. More...

#include <shark/Core/Flags.h>

+ Inheritance diagram for shark::TypedFeatureNotAvailableException< Feature >:

Public Member Functions

 TypedFeatureNotAvailableException (Feature feature, const std::string &file=std::string(), unsigned int line=0)
 
 TypedFeatureNotAvailableException (const std::string &message, Feature feature, const std::string &file=std::string(), unsigned int line=0)
 
Feature feature () const
 
- Public Member Functions inherited from shark::Exception
 Exception (const std::string &what="unknown reason", const std::string &file="unknown", unsigned int line=0, const std::string &func="function")
 Default c'tor. More...
 
 ~Exception () throw ()
 Default d'tor. More...
 
const char * what () const throw ()
 Accesses the description of the exception. More...
 
const std::string & file () const
 Accesses the name of the file the exception occurred in. More...
 
unsigned int line () const
 Accesses the line of the file the exception occured in. More...
 

Protected Attributes

Feature m_feature
 
- Protected Attributes inherited from shark::Exception
std::string m_what
 Description of the exception. More...
 
std::string m_file
 File name the exception occurred in. More...
 
unsigned int m_line
 Line of file the exception occurred in. More...
 
std::string m_func
 Function name the exception occured in. More...
 
std::string m_message
 complete error message More...
 

Detailed Description

template<class Feature>
class shark::TypedFeatureNotAvailableException< Feature >

Exception indicating the attempt to use a feature which is not supported.

Definition at line 130 of file Flags.h.

Constructor & Destructor Documentation

◆ TypedFeatureNotAvailableException() [1/2]

template<class Feature >
shark::TypedFeatureNotAvailableException< Feature >::TypedFeatureNotAvailableException ( Feature  feature,
const std::string &  file = std::string(),
unsigned int  line = 0 
)
inline

Definition at line 132 of file Flags.h.

◆ TypedFeatureNotAvailableException() [2/2]

template<class Feature >
shark::TypedFeatureNotAvailableException< Feature >::TypedFeatureNotAvailableException ( const std::string &  message,
Feature  feature,
const std::string &  file = std::string(),
unsigned int  line = 0 
)
inline

Definition at line 135 of file Flags.h.

Member Function Documentation

◆ feature()

template<class Feature >
Feature shark::TypedFeatureNotAvailableException< Feature >::feature ( ) const
inline

Definition at line 139 of file Flags.h.

Member Data Documentation

◆ m_feature

template<class Feature >
Feature shark::TypedFeatureNotAvailableException< Feature >::m_feature
protected

Definition at line 143 of file Flags.h.


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