Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
ExceptionError_test::SpecificError Class Reference

Description

a very specific Exception class local to this scope and with additional behaviour.

Definition at line 168 of file exception-error-test.cpp.

Public Member Functions

 SpecificError ()
 
int revealIt ()
 
- Public Member Functions inherited from LumieraError< eID, PAR >
 LumieraError (std::string description="", lumiera_err const id=eID) noexcept
 
 LumieraError (std::exception const &cause, std::string description="", lumiera_err const id=eID) noexcept
 
- Public Member Functions inherited from Error
virtual ~Error () noexcept
 
 Error (string description="", lumiera_err const id=LERR_(EXCEPTION)) noexcept
 this is an interface
 
 Error (std::exception const &cause, string description="", lumiera_err const id=LERR_(EXCEPTION)) noexcept
 
 Error (Error &&)=default
 
 Error (Error const &)=default
 
Erroroperator= (Error &&)=delete
 
Erroroperator= (Error const &)=delete
 
virtual CStr what () const noexcept override
 std::exception interface : yield a diagnostic message
 
lumiera_err getID () const noexcept
 the internal Lumiera-error-ID (was set as C-errorstate in ctor)
 
string const & getUsermsg () const noexcept
 extract the message to be displayed for the user
 
string const & rootCause () const noexcept
 If this exception was caused by a chain of further exceptions, return the description of the first one registered in this throw sequence.
 
ErrorsetUsermsg (string const &newMsg) noexcept
 replace the previous or default friendly message for the user.
 
ErrorprependInfo (string const &text) noexcept
 give additional developer info.
 

Private Attributes

int value_
 

Constructor & Destructor Documentation

◆ SpecificError()

SpecificError ( )
inline

Definition at line 173 of file exception-error-test.cpp.

Member Function Documentation

◆ revealIt()

int revealIt ( )
inline

Definition at line 179 of file exception-error-test.cpp.

References ExceptionError_test::SpecificError::value_.

Referenced by ExceptionError_test::catcher().

+ Here is the caller graph for this function:

Member Data Documentation

◆ value_

int value_
private
+ Inheritance diagram for ExceptionError_test::SpecificError:
+ Collaboration diagram for ExceptionError_test::SpecificError:

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