-
Notifications
You must be signed in to change notification settings - Fork 1
/
exceptions.h
36 lines (31 loc) · 758 Bytes
/
exceptions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
////////////////////////////////
/////E X C E P T I O N S////////
////////////////////////////////
#ifndef _EXCEPTIONS_H
#define _EXCEPTIONS_H
#include<exception>
class ex_symbol_not_found_t : public std::exception
{
public:
virtual const char* what();
};
class ex_array_as_single_t : public std::exception
{
public:
virtual const char* what();
};
class ex_arr_dim_mismatch_t : public std::exception
{
public:
virtual const char* what();
};
class ex_exceed_level_limit_t : public std::exception
{
public:
virtual const char* what();
};
extern ex_symbol_not_found_t ex_symbol_not_found;
extern ex_array_as_single_t ex_array_as_single;
extern ex_arr_dim_mismatch_t ex_arr_dim_mismatch;
extern ex_exceed_level_limit_t ex_exceed_level_limit;
#endif