Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – /branches/algol60/src/lib/cpp/src/what.cc – Rev 2

Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
 
30
 
31
#include <exception>
32
#include <new>
33
#include <typeinfo>
34
using namespace std ;
35
 
36
 
37
/*
38
    EXCEPTION BASE CLASS
39
 
40
    This routines give the definitions of the member function of the
41
    exception class.
42
*/
43
 
44
exception::exception () throw ()
45
{
46
    return ;
47
}
48
 
49
exception::exception ( const exception & ) throw ()
50
{
51
    return ;
52
}
53
 
54
exception &exception::operator= ( const exception & ) throw ()
55
{
56
    return ( *this ) ;
57
}
58
 
59
exception::~exception () throw ()
60
{
61
    return ;
62
}
63
 
64
const char *exception::what () const throw ()
65
{
66
    return ( "exception" ) ;
67
}
68
 
69
 
70
/*
71
    BAD EXCEPTION CLASS
72
 
73
    This routines give the definitions of the member function of the
74
    bad_exception class.
75
*/
76
 
77
bad_exception::bad_exception () throw ()
78
{
79
    return ;
80
}
81
 
82
bad_exception::bad_exception ( const bad_exception & ) throw ()
83
{
84
    return ;
85
}
86
 
87
bad_exception &bad_exception::operator= ( const bad_exception & ) throw ()
88
{
89
    return ( *this ) ;
90
}
91
 
92
bad_exception::~bad_exception () throw ()
93
{
94
    return ;
95
}
96
 
97
const char *bad_exception::what () const throw ()
98
{
99
    return ( "bad_exception" ) ;
100
}
101
 
102
 
103
/*
104
    BAD ALLOCATION EXCEPTION CLASS
105
 
106
    This routines give the definitions of the member function of the
107
    bad_alloc class.
108
*/
109
 
110
bad_alloc::bad_alloc () throw ()
111
{
112
    return ;
113
}
114
 
115
bad_alloc::bad_alloc ( const bad_alloc & ) throw ()
116
{
117
    return ;
118
}
119
 
120
bad_alloc &bad_alloc::operator= ( const bad_alloc & ) throw ()
121
{
122
    return ( *this ) ;
123
}
124
 
125
bad_alloc::~bad_alloc () throw ()
126
{
127
    return ;
128
}
129
 
130
const char *bad_alloc::what () const throw ()
131
{
132
    return ( "bad_alloc" ) ;
133
}
134
 
135
 
136
/*
137
    BAD DYNAMIC CAST EXCEPTION CLASS
138
 
139
    This routines give the definitions of the member function of the
140
    bad_cast class.
141
*/
142
 
143
bad_cast::bad_cast () throw ()
144
{
145
    return ;
146
}
147
 
148
bad_cast::bad_cast ( const bad_cast & ) throw ()
149
{
150
    return ;
151
}
152
 
153
bad_cast &bad_cast::operator= ( const bad_cast & ) throw ()
154
{
155
    return ( *this ) ;
156
}
157
 
158
bad_cast::~bad_cast () throw ()
159
{
160
    return ;
161
}
162
 
163
const char *bad_cast::what () const throw ()
164
{
165
    return ( "bad_cast" ) ;
166
}
167
 
168
 
169
/*
170
    BAD TYPEID EXCEPTION CLASS
171
 
172
    This routines give the definitions of the member function of the
173
    bad_typeid class.
174
*/
175
 
176
bad_typeid::bad_typeid () throw ()
177
{
178
    return ;
179
}
180
 
181
bad_typeid::bad_typeid ( const bad_typeid & ) throw ()
182
{
183
    return ;
184
}
185
 
186
bad_typeid &bad_typeid::operator= ( const bad_typeid & ) throw ()
187
{
188
    return ( *this ) ;
189
}
190
 
191
bad_typeid::~bad_typeid () throw ()
192
{
193
    return ;
194
}
195
 
196
const char *bad_typeid::what () const throw ()
197
{
198
    return ( "bad_typeid" ) ;
199
}