]>
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 | { | |
3cda32a1 | 15 | throw std::out_of_range (s); |
da8c445d JM |
16 | } |
17 | ||
18 | void __length_error (const char *s) | |
19 | { | |
3cda32a1 | 20 | throw std::length_error (s); |
da8c445d | 21 | } |