PStack  2.0
Stack trace printer for MSVC and GCC binaries
base_exception.hpp File Reference

Declares the root of the exception class hierarchy for PSystem. More...

#include "exception_ns.hpp"
#include <exception>
#include <iosfwd>
#include <psystem/framework/not_assignable.hpp>
Include dependency graph for base_exception.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  psystem::exception::base_exception
 Base exception class from which all PSystem exceptions must inherit. More...
 

Namespaces

 psystem
 Contains the process examination "system" and basic frameworks.
 
 psystem::exception
 All exceptions used by the psystem namespace exist in this namespace.
 

Related Free Functions

std::ostream & operator<< (std::ostream &out, psystem::exception::base_exception const &ex) noexcept
 Serialize exception information to an output stream. More...
 

Detailed Description

Declares the root of the exception class hierarchy for PSystem.

Author
Matt Bisson
Date
26 November, 2007 – 5 August, 2014
Since
PSystem 1.0
Version
PSystem 2.0

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
psystem::exception::base_exception const &  ex 
)
noexcept

Serialize exception information to an output stream.

This operator enables trivial output of the exception to a std::ostream instance. The output will be a human-readable string with (at least) the message contained in the exception.

Parameters
[in,out]outThe stream to modify with serialized exception information.
[in]exThe exception to serialize.
Returns
The modified output stream after serialization.