Streaming C++ API
sb::StreamBaseListException Class Reference

An Exception which contains a list of cause exceptions. More...

#include <Exceptions.hpp>

Inheritance diagram for sb::StreamBaseListException:
sb::StreamBaseException

Public Member Functions

 StreamBaseListException (std::string code, std::string message, const std::vector< StreamBaseException > &causes, sb_internal::Errors::Type error_type=sb_internal::Errors::UNKNOWNTYPE, std::string type="StreamBaseListException")
 
const std::vector< StreamBaseException > & getCauses () const
 
std::string getChainOfMessages () const
 
std::string chainAsString () const
 
- Public Member Functions inherited from sb::StreamBaseException
 StreamBaseException (std::string code, std::string message, sb_internal::Errors::Type error_type=sb_internal::Errors::UNKNOWNTYPE, std::string type="StreamBaseException")
 Constructor. More...
 
 StreamBaseException (std::string code, std::string message, StreamBaseException &c, sb_internal::Errors::Type error_type=sb_internal::Errors::UNKNOWNTYPE, std::string type="StreamBaseException")
 Constructor. More...
 
virtual ~StreamBaseException () throw ()
 Destructor. More...
 
virtual const char * what () const throw ()
 Returns the message as a C string. More...
 

Protected Member Functions

virtual std::string causeAsXmlString () const
 
virtual std::string causeAsXmlString () const
 

Detailed Description

An Exception which contains a list of cause exceptions.

Member Function Documentation

◆ causeAsXmlString()

virtual std::string sb::StreamBaseListException::causeAsXmlString ( ) const
protectedvirtual

Reimplemented from sb::StreamBaseException.


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