Skip to content
Snippets Groups Projects
Commit 16b19b16 authored by Rene Halver's avatar Rene Halver
Browse files

added new exception for internal errors

parent 91fea24e
No related branches found
No related tags found
No related merge requests found
......@@ -116,5 +116,17 @@ struct ALL_Invalid_Argument_Exception : public ALL_Custom_Exception
ALL_Custom_Exception(file_,f_,l_,i_,loc_desc_) {}
};
// Execption to be used for invalid parameters in any type of classes
struct ALL_Internal_Error_Exception : public ALL_Custom_Exception
{
public:
ALL_Internal_Error_Exception(const char* file_,
const char* f_ = "",
int l_ = -1,
const char* i_ = "Internal error occured, see description.",
const char* loc_desc_ = "ALLInternalErrorException") :
ALL_Custom_Exception(file_,f_,l_,i_,loc_desc_) {}
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment