2 using exception_orderNamespace;
10 throw new Exception("missed exception");
11 } catch (ApplicationException e) {
12 if (e.Message != "C++ E1 exception thrown")
13 throw new ApplicationException("bad exception order: " + e.Message);
18 throw new Exception("missed exception");
19 } catch (ApplicationException e) {
20 if (e.Message != "C++ E2 exception thrown")
21 throw new ApplicationException("bad exception order: " + e.Message);
26 throw new Exception("missed exception");
27 } catch (ApplicationException e) {
28 if (e.Message != "postcatch unknown")
29 throw new ApplicationException("bad exception order: " + e.Message);
34 throw new Exception("missed exception");
35 } catch (ApplicationException e) {
36 if (e.Message != "C++ E1 exception thrown")
37 throw new ApplicationException("bad exception order: " + e.Message);
42 throw new Exception("missed exception");
43 } catch (ApplicationException e) {
44 if (e.Message != "C++ E2 * exception thrown")
45 throw new ApplicationException("bad exception order: " + e.Message);