Classes | Namespaces | Typedefs | Functions

Exception.h File Reference

Declaration of classes Exception, RuntimeError and LogicError. More...

#include <iosfwd>
#include <stdexcept>
#include "keyvalue/sys/message/MessageImpl.h"
Include dependency graph for Exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Exception
 Base protocol class for all exceptions. More...
class  ExceptionImpl< StdExcept, MessageType >
 Concrete template class which implements Exception's pure virtual methods. More...

Namespaces

namespace  keyvalue
 

All functionalities of KeyValue library are inside this namespace.


namespace  keyvalue::exception
 

All exception functionalities are inside this namespace.


Typedefs

typedef ExceptionImpl
< std::runtime_error, Error
RuntimeError
typedef ExceptionImpl
< std::logic_error, Logic
LogicError

Functions

std::ostream & operator<< (std::ostream &os, const Exception &exception)
 ostream operator<<() for Exception.
template<typename LhsType , typename RhsType >
LhsType & operator& (const LhsType &lhs, const RhsType &rhs)
 Non member operator& for exceptions.

Detailed Description

Declaration of classes Exception, RuntimeError and LogicError.