-
Notifications
You must be signed in to change notification settings - Fork 0
/
Exeption1.h
128 lines (105 loc) · 2.44 KB
/
Exeption1.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#pragma once
#include <string>
#include <iostream>
using namespace std;
hhh
class eror1
{
string name1 = "null", name2 = "null2";
public:
eror1(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << "is already exist in the system\n";
}
};
class eror2
{
string name1 = "null", name2 = "null2";
public:
eror2(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << " and " << name2 << "are not friends\n";
}
};
class eror3
{
string name1 = "null", name2 = "null2";
public:
eror3(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << " is already follows/friend with " << name2 << "\n";
}
};
class eror4
{
string name1 = "null", name2 = "null2";
public:
eror4(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << " has no friends" << "\n";
}
};
class eror5
{
string name1 = "null", name2 = "null2";
public:
eror5(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << " is not exist" << "\n";
}
};
class eror6
{
string name1 = "null", name2 = "null2";
public:
eror6(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << " is already follows " << name2 << "\n";
}
};
class eror7
{
string name1 = "null", name2 = "null2";
public:
eror7(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << "dont follows any fan page\n";
}
};
class eror8
{
string name1 = "null", name2 = "null2";
public:
eror8(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << "dont follows " << name2 << "\n";
}
};
class eror9
{
string name1 = "null", name2 = "null2";
public:
eror9(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n their are no friends who follows " << name1 << "\n";
}
};
class eror10
{
string name1 = "null", name2 = "null2";
public:
eror10(string name13 = "null", string name23 = "null0") : name1(name13), name2(name23) {};
void print()
{
cout << "\n" << name1 << " is no exist in the system \n";
}
};