#include <libmesh_exceptions.h>
Public Member Functions | |
SolverException (int error_code_in) | |
virtual | ~SolverException () noexcept |
virtual const char * | what () const noexcept |
Public Attributes | |
int | error_code |
std::string | what_message |
A class representing an exception during a solve.
Definition at line 107 of file libmesh_exceptions.h.
|
inline |
|
inlinevirtualnoexcept |
Virtual destructor, gotta have one of those.
Definition at line 122 of file libmesh_exceptions.h.
|
inlinevirtualnoexcept |
Override the what() function to provide a generic error message.
Definition at line 127 of file libmesh_exceptions.h.
References what_message.
int libMesh::SolverException::error_code |
The error code generated by the solver.
Definition at line 137 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 142 of file libmesh_exceptions.h.
Referenced by libMesh::PetscSolverException::PetscSolverException(), SolverException(), and what().