2 * stdexcept.cc - provides stub implementations of the exceptions required by the runtime.
8 exception::exception() throw() {}
9 exception::~exception() {}
10 exception::exception(const exception&) throw() {}
11 exception& exception::operator=(const exception&) throw()
15 const char* exception::what() const throw()
17 return "std::exception";
20 bad_alloc::bad_alloc() throw() {}
21 bad_alloc::~bad_alloc() {}
22 bad_alloc::bad_alloc(const bad_alloc&) throw() {}
23 bad_alloc& bad_alloc::operator=(const bad_alloc&) throw()
27 const char* bad_alloc::what() const throw()
29 return "cxxrt::bad_alloc";
34 bad_cast::bad_cast() throw() {}
35 bad_cast::~bad_cast() {}
36 bad_cast::bad_cast(const bad_cast&) throw() {}
37 bad_cast& bad_cast::operator=(const bad_cast&) throw()
41 const char* bad_cast::what() const throw()
43 return "std::bad_cast";
46 bad_typeid::bad_typeid() throw() {}
47 bad_typeid::~bad_typeid() {}
48 bad_typeid::bad_typeid(const bad_typeid &__rhs) throw() {}
49 bad_typeid& bad_typeid::operator=(const bad_typeid &__rhs) throw()
54 const char* bad_typeid::what() const throw()
56 return "std::bad_typeid";