NestedException contains a new higher level error message (typically based on argument basedOnException) and preserves the original exception (which you can use to get its message, with Characters::ToString (fBasedOnException) More...
#include <Exceptions.h>
Additional Inherited Members | |
Public Member Functions inherited from Stroika::Foundation::Execution::Exception< BASE_EXCEPTION > | |
| virtual const char * | what () const noexcept override |
Public Member Functions inherited from Stroika::Foundation::Execution::ExceptionStringHelper | |
| ExceptionStringHelper ()=delete | |
| nonvirtual Characters::String | GetBasicErrorMessage () const |
| nonvirtual Characters::String | GetFullErrorMessage () const |
| nonvirtual Containers::Stack< Activity<> > | GetActivities () const |
| template<typename T > | |
| nonvirtual T | As () const |
Protected Member Functions inherited from Stroika::Foundation::Execution::Exception< BASE_EXCEPTION > | |
| template<typename... BASE_EXCEPTION_ARGS> | |
| Exception (const Characters::String &reasonForError, BASE_EXCEPTION_ARGS... baseExceptionArgs) | |
Protected Member Functions inherited from Stroika::Foundation::Execution::ExceptionStringHelper | |
| nonvirtual const char * | _PeekAtNarrowSDKString_ () const |
NestedException contains a new higher level error message (typically based on argument basedOnException) and preserves the original exception (which you can use to get its message, with Characters::ToString (fBasedOnException)
This also can be used to wrap third-party libraries exceptions, which don't know about 'DeclareActivity' - and incorporating that into an error message.
Definition at line 212 of file Exceptions.h.