sl@0: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Name : exception.cpp sl@0: // Part of : standard c++ library. sl@0: // sl@0: // sl@0: sl@0: #include sl@0: #include sl@0: sl@0: namespace std sl@0: { sl@0: EXPORT_C exception::exception() __NO_THROW {} sl@0: EXPORT_C exception::exception(const std::exception&) __NO_THROW {} sl@0: EXPORT_C exception::~exception() __NO_THROW {} sl@0: EXPORT_C const char* exception::what() const __NO_THROW {return "exception";} sl@0: EXPORT_C exception& exception::operator=(const exception&) __NO_THROW { return *this; } sl@0: } sl@0: sl@0: EXPORT_C std::bad_exception::bad_exception() __NO_THROW sl@0: {} sl@0: sl@0: EXPORT_C std::bad_exception::bad_exception(const std::bad_exception&) __NO_THROW sl@0: {} sl@0: sl@0: EXPORT_C std::bad_exception::~bad_exception() __NO_THROW sl@0: {} sl@0: sl@0: EXPORT_C std::bad_exception& std::bad_exception::operator=(const std::bad_exception&) __NO_THROW sl@0: { sl@0: return *this; sl@0: } sl@0: sl@0: EXPORT_C const char* std::bad_exception::what() const __NO_THROW sl@0: { sl@0: return "class bad_exception"; sl@0: } sl@0: sl@0: sl@0: