]>
Commit | Line | Data |
---|---|---|
6599da04 JM |
1 | // Implementation file for Exception Support for -*- C++ -*- |
2 | // This file is part of the GNU ANSI C++ Library. | |
3 | ||
4 | #ifdef __GNUG__ | |
5 | #pragma implementation "stdexcept" | |
6 | #endif | |
7 | ||
8 | #include <stdexcept> | |
da8c445d JM |
9 | |
10 | // Entry points for string. | |
11 | ||
12 | void | |
13 | __out_of_range (const char *s) | |
14 | { | |
15 | throw out_of_range (s); | |
16 | } | |
17 | ||
18 | void __length_error (const char *s) | |
19 | { | |
20 | throw length_error (s); | |
21 | } |