Flow123d  jenkins-Flow123d-windows-release-multijob-285
Functions
exc_common.hh File Reference
#include <system/exceptions.hh>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 TYPEDEF_ERR_INFO (EI_Message, std::string)
 
 TYPEDEF_ERR_INFO (EI_MPI_Rank, int)
 
 DECLARE_EXCEPTION (ExcAssertMsg,<< "["<< EI_MPI_Rank::val<< "] "<< "Violated Assert! "<< EI_Message::val)
 
 DECLARE_EXCEPTION (ExcMessage,<< EI_Message::val)
 
 TYPEDEF_ERR_INFO (EI_ErrCode, int)
 
 DECLARE_EXCEPTION (ExcChkErr,<< "["<< EI_ErrCode::val<< "] ")
 
 DECLARE_EXCEPTION (ExcChkErrAssert,<< "["<< EI_ErrCode::val<< "] ")
 

Detailed Description

Common exceptions.

Definition in file exc_common.hh.

Function Documentation

DECLARE_EXCEPTION ( ExcAssertMsg  ,
<< " "<< "Violated Assert! "<< EI_Message::val  ["<< EI_MPI_Rank::val<< "] 
)
DECLARE_EXCEPTION ( ExcMessage  ,
<< EI_Message::val   
)

General exception with message.

DECLARE_EXCEPTION ( ExcChkErr  ,
<< " "  ["<< EI_ErrCode::val<< "] 
)
DECLARE_EXCEPTION ( ExcChkErrAssert  ,
<< " "  ["<< EI_ErrCode::val<< "] 
)
TYPEDEF_ERR_INFO ( EI_Message  ,
std::string   
)

Assert exception with an string message.

TYPEDEF_ERR_INFO ( EI_MPI_Rank  ,
int   
)
TYPEDEF_ERR_INFO ( EI_ErrCode  ,
int   
)

Test of ierr return codes for MPI and PETSc