AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
AException Class Reference

Abstract AUI exception. More...

Detailed Description

Abstract AUI exception.

Unlike std::exception, AException is capable to capture stack traces and efficiently output them to std::ostream. Also exception nesting is possible (via causedBy()).

Public Member Functions

 AException (AStacktrace stacktrace)
 
 AException (const AString &message)
 
 AException (const AString &message, std::exception_ptr causedBy, AStacktrace stacktrace=AStacktrace::capture(2))
 
virtual AString getMessage () const noexcept
 
const char * what () const noexcept override
 
const AStacktracestacktrace () const noexcept
 
const std::exception_ptr & causedBy () const noexcept
 

#include <AUI/Common/AException.h>


The documentation for this class was generated from the following file:
Inheritance diagram for AException:
Collaboration diagram for AException: