libMesh
|
A class representing an exception during a solve. More...
#include <libmesh_exceptions.h>
Public Member Functions | |
SolverException (int error_code_in) | |
virtual | ~SolverException ()=default |
Virtual destructor, gotta have one of those. More... | |
virtual const char * | what () const noexcept override |
Override the what() function to provide a generic error message. More... | |
Public Attributes | |
int | error_code |
The error code generated by the solver. More... | |
std::string | what_message |
string which holds the message built in the constructor. More... | |
A class representing an exception during a solve.
Definition at line 105 of file libmesh_exceptions.h.
|
inline |
Definition at line 108 of file libmesh_exceptions.h.
References error_code, and what_message.
|
virtualdefault |
Virtual destructor, gotta have one of those.
|
inlineoverridevirtualnoexcept |
Override the what() function to provide a generic error message.
Definition at line 125 of file libmesh_exceptions.h.
References what_message.
int libMesh::SolverException::error_code |
The error code generated by the solver.
Definition at line 135 of file libmesh_exceptions.h.
Referenced by libMesh::PetscSolverException::PetscSolverException(), and SolverException().
std::string libMesh::SolverException::what_message |
string which holds the message built in the constructor.
Definition at line 140 of file libmesh_exceptions.h.
Referenced by libMesh::PetscSolverException::PetscSolverException(), SolverException(), and what().