phd_ws
C++ header-only library providing generic extensions to STL containers.
exception.hpp File Reference

Header file providing custom exceptions 'std::not_implemented' and 'std::timed_out'. More...

#include <string>
#include <stdexcept>
Include dependency graph for exception.hpp:

Classes

class  std::not_implemented
 This class describes a 'not implemented' exception to signal currently missing features. More...
 
class  std::timed_out
 This class describes a 'timed out' exception to be used time-sensitive implementations. More...
 

Detailed Description

Header file providing custom exceptions 'std::not_implemented' and 'std::timed_out'.

Author
João André

std::not_implemented is a useful execption derived from std::logic_error intended to be used while implementations are still being developed and not ready for deployment.

std::timed_out is derived from std::runtime_error intended to ease handling IO read/writes i.e. signaling a recoverable specific timed context.