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

A class to represent the internal "this should never happen" errors, to be thrown by "libmesh_error();". More...

#include <libmesh_exceptions.h>

Inheritance diagram for libMesh::LogicError:
[legend]

Public Member Functions

 LogicError ()
 
 LogicError (const std::string &msg)
 

Detailed Description

A class to represent the internal "this should never happen" errors, to be thrown by "libmesh_error();".

Definition at line 38 of file libmesh_exceptions.h.

Constructor & Destructor Documentation

◆ LogicError() [1/2]

libMesh::LogicError::LogicError ( )

Definition at line 41 of file libmesh_exceptions.h.

41 : std::logic_error( "Error in libMesh internal logic" ) {}

◆ LogicError() [2/2]

libMesh::LogicError::LogicError ( const std::string &  msg)

Definition at line 42 of file libmesh_exceptions.h.

42 : std::logic_error( msg ) {}

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