equal
deleted
inserted
replaced
|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Name : exception.cpp |
|
15 // Part of : standard c++ library. |
|
16 // |
|
17 // |
|
18 |
|
19 #include <stdexcept> |
|
20 #include <typeinfo> |
|
21 |
|
22 namespace std |
|
23 { |
|
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; } |
|
29 } |
|
30 |
|
31 EXPORT_C std::bad_exception::bad_exception() __NO_THROW |
|
32 {} |
|
33 |
|
34 EXPORT_C std::bad_exception::bad_exception(const std::bad_exception&) __NO_THROW |
|
35 {} |
|
36 |
|
37 EXPORT_C std::bad_exception::~bad_exception() __NO_THROW |
|
38 {} |
|
39 |
|
40 EXPORT_C std::bad_exception& std::bad_exception::operator=(const std::bad_exception&) __NO_THROW |
|
41 { |
|
42 return *this; |
|
43 } |
|
44 |
|
45 EXPORT_C const char* std::bad_exception::what() const __NO_THROW |
|
46 { |
|
47 return "class bad_exception"; |
|
48 } |
|
49 |
|
50 |
|
51 |