summaryrefslogtreecommitdiff
path: root/src/runtime/dotNet/Exceptions.cs
blob: 91193db7434edfa4651d09287a02871ec3416386 (plain)
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PGFSharp
{

    [Serializable]
    public class PGFError : Exception
    {
        public PGFError() { }
        public PGFError(string message) : base(message) { }
        public PGFError(string message, Exception inner) : base(message, inner) { }
        protected PGFError(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context) : base(info, context)
        { }
    }


    [Serializable]
    public class ParseError : Exception
    {
        public ParseError() { }
        public ParseError(string message) : base(message) { }
        public ParseError(string message, Exception inner) : base(message, inner) { }
        protected ParseError(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context) : base(info, context)
        { }
    }

    [Serializable]
    public class TypeError : Exception
    {
        public TypeError() { }
        public TypeError(string message) : base(message) { }
        public TypeError(string message, Exception inner) : base(message, inner) { }
        protected TypeError(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context) : base(info, context)
        { }
    }
}