-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExceptions.cs
67 lines (62 loc) · 3.04 KB
/
Exceptions.cs
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
namespace butters{
[System.Serializable]
public class ButtersException : System.Exception
{
public ButtersException() { }
public ButtersException(string message) : base(message) { }
public ButtersException(string message, System.Exception inner) : base(message, inner) { }
protected ButtersException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
}
[System.Serializable]
public class InvalidTokenException : ButtersException
{
public InvalidTokenException() {}
public InvalidTokenException(string message) : base(message) {}
public InvalidTokenException(string message, ButtersException inner) : base(message, inner) {}
protected InvalidTokenException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) {}
}
[System.Serializable]
public class CompileException : ButtersException
{
public CompileException() { }
public CompileException(string message) : base(message) { }
public CompileException(string message, System.Exception inner) : base(message, inner) { }
protected CompileException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
}
[System.Serializable]
public class RuntimeException : ButtersException
{
public RuntimeException() { }
public RuntimeException(string message) : base(message) { }
public RuntimeException(string message, System.Exception inner) : base(message, inner) { }
protected RuntimeException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
}
[System.Serializable]
public class InvalidVariableException : ButtersException
{
public InvalidVariableException() { }
public InvalidVariableException(string message) : base(message) { }
public InvalidVariableException(string message, System.Exception inner) : base(message, inner) { }
protected InvalidVariableException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
}
[System.Serializable]
public class InvalidWarpException : ButtersException
{
public InvalidWarpException() { }
public InvalidWarpException(string message) : base(message) { }
public InvalidWarpException(string message, System.Exception inner) : base(message, inner) { }
protected InvalidWarpException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
}
}