1997-08-22 00:57:35 +02:00
|
|
|
// Implementation file for Exception Support for -*- C++ -*-
|
|
|
|
// This file is part of the GNU ANSI C++ Library.
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation "stdexcept"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdexcept>
|
1997-10-10 08:56:56 +02:00
|
|
|
|
|
|
|
// Entry points for string.
|
|
|
|
|
|
|
|
void
|
|
|
|
__out_of_range (const char *s)
|
|
|
|
{
|
1999-07-16 09:07:45 +02:00
|
|
|
throw std::out_of_range (s);
|
1997-10-10 08:56:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void __length_error (const char *s)
|
|
|
|
{
|
1999-07-16 09:07:45 +02:00
|
|
|
throw std::length_error (s);
|
1997-10-10 08:56:56 +02:00
|
|
|
}
|