CatapultServer  v0.5.0.1 (Elephant)
catapult::catapult_error< TStlException > Class Template Reference

Base class for all catapult exceptions that derives from both std::exception and boost::exception. More...

Inheritance diagram for catapult::catapult_error< TStlException >:
Collaboration diagram for catapult::catapult_error< TStlException >:

Public Member Functions

 catapult_error (const char *what)
 Creates an exception with a message (what). More...
 
 catapult_error (const catapult_error &rhs)
 Copy constructs an exception from rhs. More...
 
 catapult_error (catapult_error &&rhs)
 Move constructs an exception from rhs. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 

Detailed Description

template<typename TStlException>
class catapult::catapult_error< TStlException >

Base class for all catapult exceptions that derives from both std::exception and boost::exception.

Constructor & Destructor Documentation

◆ catapult_error() [1/3]

template<typename TStlException>
catapult::catapult_error< TStlException >::catapult_error ( const char *  what)
inlineexplicit

Creates an exception with a message (what).

◆ catapult_error() [2/3]

template<typename TStlException>
catapult::catapult_error< TStlException >::catapult_error ( const catapult_error< TStlException > &  rhs)
inline

Copy constructs an exception from rhs.

◆ catapult_error() [3/3]

template<typename TStlException>
catapult::catapult_error< TStlException >::catapult_error ( catapult_error< TStlException > &&  rhs)
inline

Move constructs an exception from rhs.


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