Update contrib.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
20 class MySecondException {
22 MySecondException(){};
23 MySecondException(int x) { iVal = x; };
27 IMPORT_C int thrower2 (int x);
30 class MyThirdException : public MySecondException {
33 MyThirdException(int x) { iVal = x; iVal1 = x+1;};
37 IMPORT_C int thrower3 (int x);
39 NONSHARABLE_CLASS(VB1) : virtual public MySecondException {};
40 NONSHARABLE_CLASS(VB2) : virtual public MySecondException {};
42 class MyFourthException : public VB1 , public VB2 {
44 MyFourthException(int x) { iVal = x; iVal2=x+2;};
48 IMPORT_C int thrower4 (int x);
56 class MyFifthException : public MySecondException, public B1 {
58 MyFifthException(int x): MySecondException(x), B1(x){}
61 IMPORT_C int thrower5 (int x);
63 class UncaughtTester {
65 IMPORT_C UncaughtTester(TInt & x);
66 IMPORT_C ~UncaughtTester();