Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Name : exception.cpp
15 // Part of : standard c++ library.
24 EXPORT_C exception::exception() __NO_THROW {}
25 EXPORT_C exception::exception(const std::exception&) __NO_THROW {}
26 EXPORT_C exception::~exception() __NO_THROW {}
27 EXPORT_C const char* exception::what() const __NO_THROW {return "exception";}
28 EXPORT_C exception& exception::operator=(const exception&) __NO_THROW { return *this; }
31 EXPORT_C std::bad_exception::bad_exception() __NO_THROW
34 EXPORT_C std::bad_exception::bad_exception(const std::bad_exception&) __NO_THROW
37 EXPORT_C std::bad_exception::~bad_exception() __NO_THROW
40 EXPORT_C std::bad_exception& std::bad_exception::operator=(const std::bad_exception&) __NO_THROW
45 EXPORT_C const char* std::bad_exception::what() const __NO_THROW
47 return "class bad_exception";