HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
RuntimeError Class Referenceabstract

This class serves the same purpose as std::runtime_error, but it can be more convenient to use. More...

#include <RuntimeError.h>

Inheritance diagram for RuntimeError:
Inheritance graph
[legend]
Collaboration diagram for RuntimeError:
Collaboration graph
[legend]

Public Member Functions

 RuntimeError ()
 
virtual ~RuntimeError () throw ( )
 
const char * what () const throw ( )
 Implementation of the std::exception::what method. More...
 

Protected Member Functions

virtual void outputWhat (std::ostream &o) const =0
 

Private Attributes

bool m_firstWhat
 True i.f.f. the what method has not yet been called. More...
 
std::string m_what
 Contains the what string. Populated by the first call to the what method. More...
 

Detailed Description

This class serves the same purpose as std::runtime_error, but it can be more convenient to use.

Definition at line 41 of file RuntimeError.h.

Constructor & Destructor Documentation

RuntimeError::RuntimeError ( )
inline

Definition at line 44 of file RuntimeError.h.

virtual RuntimeError::~RuntimeError ( )
throw (
)
inlinevirtual

Definition at line 45 of file RuntimeError.h.

Member Function Documentation

virtual void RuntimeError::outputWhat ( std::ostream &  o) const
protectedpure virtual

The implementing class implements this method to customize the what output

Parameters
oThe what stream is outputted to this parameter

Implemented in MismatchedIndexesException, MetaLogParseException, NonContiguousQPSetException, TargetsParseException, InitialAdjustmentParameterParseException, POCParseException, and WrongNumberOfArgumentsException.

const char* RuntimeError::what ( ) const
throw (
)
inline

Implementation of the std::exception::what method.

Definition at line 48 of file RuntimeError.h.

Member Data Documentation

bool RuntimeError::m_firstWhat
mutableprivate

True i.f.f. the what method has not yet been called.

Definition at line 66 of file RuntimeError.h.

std::string RuntimeError::m_what
mutableprivate

Contains the what string. Populated by the first call to the what method.

Definition at line 67 of file RuntimeError.h.


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