RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
#include <common.h>
Public Member Functions | |
template<typename... Args> | |
RINGMeshException (std::string category, const Args &... messages) | |
virtual | ~RINGMeshException () throw () |
const std::string & | category () const |
Protected Attributes | |
std::string | category_ {} |
Private Member Functions | |
template<typename A0 > | |
std::string | string_concatener (const A0 &a0) |
template<typename A0 , typename A1 , typename... Args> | |
std::string | string_concatener (const A0 &a0, const A1 &a1, const Args &... args) |
RINGMesh exception class. Example: throw RINGMeshException( "I/O", "Error while loading the GeoModel" ) ;
try { ... } catch( const RINGMeshException& e ) { Logger::err( e.category(), e.what() ) ; } catch( const std::exception& e ) { // Catch all others STL exceptions Logger::err( "Exception", e.what() ); }
|
inlineexplicit |
|
inlinevirtual |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
protected |