-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCompileException.cs
More file actions
44 lines (35 loc) · 804 Bytes
/
CompileException.cs
File metadata and controls
44 lines (35 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
public class CompileException : Exception {
private int line = 0;
public int Line() {
return line;
}
public CompileException()
{
}
public CompileException(int line)
{
this.line = line;
}
public CompileException(string message) : base(message)
{
}
public CompileException(string message, int line)
: base(message)
{
this.line = line;
}
public CompileException(string message, int line, Exception inner)
: base(message, inner)
{
this.line = line;
}
public CompileException(int line, Exception inner) :base("",inner)
{
this.line = line;
}
public CompileException(string message, Exception inner)
: base(message, inner)
{
}
}