Flow123d  release_3.0.0-1027-g6cabdfa
Public Member Functions | List of all members
ExcArmadillo Class Reference
Inheritance diagram for ExcArmadillo:
Inheritance graph
[legend]
Collaboration diagram for ExcArmadillo:
Collaboration graph
[legend]

Public Member Functions

 ExcArmadillo ()
 
void print_info (std::ostringstream &out) const override
 
- Public Member Functions inherited from ExceptionBase
 ExceptionBase ()
 Default constructor, just calls fill_stacktrace(). More...
 
 ExceptionBase (const ExceptionBase &other)
 Copy constructor, performs deep copy of stacktrace. More...
 
void print_stacktrace (std::ostream &out) const
 Prints formated stacktrace into given stream out. More...
 
const char * what () const throw ()
 
virtual ~ExceptionBase () throw ()
 Destructor, possibly free stacktrace. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ExceptionBase
virtual std::string what_type_msg () const
 Return type of message ("Program error" for this class). Can be override in descendants. More...
 
virtual std::ostringstream & form_message (std::ostringstream &) const
 
- Protected Attributes inherited from ExceptionBase
StackTrace stack_trace_
 Stacktrace of exception. More...
 
std::vector< std::string > frames_to_cut_
 Stacktrace frames, which will be cut, see StackTrace::print method. More...
 

Detailed Description

Auxiliary exception in order to change standard frames_to_cut_.

Definition at line 27 of file armadillo_tools.cc.

Constructor & Destructor Documentation

ExcArmadillo::ExcArmadillo ( )
inline

Definition at line 29 of file armadillo_tools.cc.

Member Function Documentation

void ExcArmadillo::print_info ( std::ostringstream &  out) const
inlineoverridevirtual

Purely virtual method, that should be implemented by descendants. Prints specific error message into stream out. In particular you can use macros DECLARE_EXCEPTION or DECLARE_INPUT_EXCEPTION for easy declarations.

Implements ExceptionBase.

Definition at line 34 of file armadillo_tools.cc.


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