libMesh
|
A specialization of the SolverException class for PETSc. More...
#include <petsc_solver_exception.h>
Public Member Functions | |
PetscSolverException (int error_code_in) | |
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 specialization of the SolverException class for PETSc.
Definition at line 54 of file petsc_solver_exception.h.
|
inline |
Definition at line 57 of file petsc_solver_exception.h.
References libMesh::SolverException::error_code, and libMesh::SolverException::what_message.
|
inlineoverridevirtualnoexceptinherited |
Override the what() function to provide a generic error message.
Definition at line 125 of file libmesh_exceptions.h.
References libMesh::SolverException::what_message.
|
inherited |
The error code generated by the solver.
Definition at line 135 of file libmesh_exceptions.h.
Referenced by PetscSolverException(), and libMesh::SolverException::SolverException().
|
inherited |
string which holds the message built in the constructor.
Definition at line 140 of file libmesh_exceptions.h.
Referenced by PetscSolverException(), libMesh::SolverException::SolverException(), and libMesh::SolverException::what().