projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[threading] Use a RT signal for abort when possible.
[mono.git]
/
mono
/
tests
/
exception17.cs
1
using System;
2
3
public class main {
4
public static Exception exc;
5
6
public static void finaller () {
7
try {
8
throw exc;
9
} finally {
10
throw exc;
11
}
12
}
13
14
public static void catcher1 () {
15
try {
16
finaller ();
17
} catch (Exception) {
18
}
19
}
20
21
public static void catcher2 () {
22
try {
23
try {
24
throw exc;
25
} finally {
26
catcher1 ();
27
throw exc;
28
}
29
} catch (Exception) {
30
}
31
}
32
33
public static int Main () {
34
exc = new Exception ();
35
36
catcher1 ();
37
catcher2 ();
38
39
return 0;
40
}
41
}