ALL 0.9.3
A Loadbalacing Library
|
#include <ALL_CustomExceptions.hpp>
Public Member Functions | |
OutOfBoundsException (const char *file_, const char *f_="", int l_=-1, const char *i_="Access to array out of bounds.", const char *loc_desc_="ALLOutOfBoundsErrorException", const ErrorID error_id_=ErrorID::OutOfBounds) | |
![]() | |
CustomException (const char *file_="", const char *f_="", int l_=-1, const char *i_="", const char *loc_desc_="ALLCustomException", const ErrorID error_id_=ErrorID::Generic) | |
int | get_error_id () |
const char * | get_func () const |
const char * | get_info () |
int | get_line () const |
virtual const char * | what () const throw () |
Additional Inherited Members | |
![]() | |
enum struct | ErrorID : int { Generic = 1 , PointDimensionMissmatch , InvalidCommType , InvalidArgument , OutOfBounds , InternalError , FilesystemError } |
![]() | |
ErrorID | error_id |
error identificator retrieved by Fortran | |
std::string | error_msg |
error message | |
const char * | file |
file the exception occured in | |
const char * | func |
function the exception occured in | |
const char * | info |
information on the exception | |
int | line |
line the exception occured in | |
const char * | loc_desc |
name of the exception | |
Definition at line 162 of file ALL_CustomExceptions.hpp.
|
inline |
constructor
file | the source file from where the exception is thrown |
f_ | the function from where the exception is thrown |
l_ | the line from where the exception is thrown |
i_ | additional information about the error |
loc_desc | internal description of the exception type |
Definition at line 170 of file ALL_CustomExceptions.hpp.