libMesh
Public Member Functions | List of all members
libMesh::TerminationException Class Reference

A class representing an exception used only to send a program to the terminate handler for abort after cleanup, while bypassing the usual debugging output (performance logs, stack traces, "terminating" messages) that the handler does to ease debugging of uncaught error exceptions. More...

#include <libmesh_exceptions.h>

Public Member Functions

 TerminationException ()
 
const char * what () const noexcept
 

Detailed Description

A class representing an exception used only to send a program to the terminate handler for abort after cleanup, while bypassing the usual debugging output (performance logs, stack traces, "terminating" messages) that the handler does to ease debugging of uncaught error exceptions.

We don't even inherit from std::exception here, to avoid being caught as that type.

Definition at line 207 of file libmesh_exceptions.h.

Constructor & Destructor Documentation

◆ TerminationException()

libMesh::TerminationException::TerminationException ( )
inline

Definition at line 210 of file libmesh_exceptions.h.

210 {}

Member Function Documentation

◆ what()

const char* libMesh::TerminationException::what ( ) const
inlinenoexcept

Definition at line 212 of file libmesh_exceptions.h.

212 { return "libMesh termination requested"; }

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