v0.14.0
Public Member Functions | List of all members
MoFEM::Exceptions::MoFEMExceptionInitial Struct Reference

#include <include/Exceptions.hpp>

Inheritance diagram for MoFEM::Exceptions::MoFEMExceptionInitial:
[legend]
Collaboration diagram for MoFEM::Exceptions::MoFEMExceptionInitial:
[legend]

Public Member Functions

 MoFEMExceptionInitial (const int error_code, const char error_message[], const int line)
 
- Public Member Functions inherited from MoFEM::Exceptions::MoFEMExceptionRepeat
 MoFEMExceptionRepeat (const int error_code, const int line)
 
- Public Member Functions inherited from MoFEM::Exceptions::MoFEMException
 MoFEMException (const MoFEMErrorCodes error_code)
 
 MoFEMException (const MoFEMErrorCodes error_code, const char error_message[])
 
const char * what () const throw ()
 

Additional Inherited Members

- Public Attributes inherited from MoFEM::Exceptions::MoFEMExceptionRepeat
const int lINE
 
- Public Attributes inherited from MoFEM::Exceptions::MoFEMException
const int errorCode
 
char errorMessage [1024]
 
- Protected Member Functions inherited from MoFEM::Exceptions::MoFEMException
 MoFEMException (const int error_code)
 

Detailed Description

Definition at line 46 of file Exceptions.hpp.

Constructor & Destructor Documentation

◆ MoFEMExceptionInitial()

MoFEM::Exceptions::MoFEMExceptionInitial::MoFEMExceptionInitial ( const int  error_code,
const char  error_message[],
const int  line 
)
inline

Definition at line 47 of file Exceptions.hpp.

49  : MoFEMExceptionRepeat(error_code, line) {
50  strncpy(errorMessage, error_message, sizeof(errorMessage));
51  errorMessage[sizeof(errorMessage) - 1] = '\0';
52  }

The documentation for this struct was generated from the following file:
MoFEM::Exceptions::MoFEMException::errorMessage
char errorMessage[1024]
Definition: Exceptions.hpp:22
MoFEM::Exceptions::MoFEMExceptionRepeat::MoFEMExceptionRepeat
MoFEMExceptionRepeat(const int error_code, const int line)
Definition: Exceptions.hpp:40