summaryrefslogtreecommitdiff
path: root/src/stdexcept.cc
blob: e5ee8123c80548941d9d6880b13b18f38ca426f2 (plain)
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

#include "stdexcept.h"

namespace std {


exception::exception() throw() {
}

exception::exception(const exception&) throw() {
}

exception& exception::operator=(const exception&) throw() {
    return *this;
}

exception::~exception() {
}

const char* exception::what() const throw() {
    return "std::exception";
}


bad_alloc::bad_alloc() throw() {
}

bad_alloc::bad_alloc(const bad_alloc&) throw() {
}

bad_alloc& bad_alloc::operator=(const bad_alloc&) throw() {
    return *this;
}

bad_alloc::~bad_alloc() {
}

const char* bad_alloc::what() const throw() {
    return "cxxrt::bad_alloc";
}



bad_cast::bad_cast() throw() {
}

bad_cast::bad_cast(const bad_cast&) throw() {
}

bad_cast& bad_cast::operator=(const bad_cast&) throw() {
    return *this;
}

bad_cast::~bad_cast() {
}

const char* bad_cast::what() const throw() {
    return "std::bad_cast";
}


bad_typeid::bad_typeid() throw() {
}

bad_typeid::bad_typeid(const bad_typeid &__rhs) throw() {
}

bad_typeid::~bad_typeid() {
}

bad_typeid& bad_typeid::operator=(const bad_typeid &__rhs) throw() {
    return *this;
}

const char* bad_typeid::what() const throw() {
    return "std::bad_typeid";
}

}