Project

General

Profile

root / branches / compiler / cSharp / ooasCompiler / src / parser / ooaExceptions.cs

1 3 krennw
/**
2
  *
3
  *                      OOAS Compiler (Deprecated)
4
  *
5
  * Copyright 2015, Institute for Software Technology, Graz University of
6
  * Technology. Portions are copyright 2015 by the AIT Austrian Institute
7
  * of Technology. All rights reserved.
8
  *
9
  * SEE THE "LICENSE" FILE FOR THE TERMS UNDER WHICH THIS FILE IS PROVIDED.
10
  *
11
  * Please notice that this version of the OOAS compiler is considered de-
12
  * precated. Only the Java version is maintained.
13
  *
14
  * Contributors:
15
  *               Willibald Krenn (TU Graz/AIT)
16
  *               Stefan Tiran (TU Graz/AIT)
17
  */
18
19
using System;
20
using System.Collections.Generic;
21
using System.Text;
22
23
namespace TUG.Mogentes
24
{
25
    public class UlyssesException : Exception
26
    {
27
        // lacks all the constructors necessary for remoting..
28
        public UlyssesException(string message)
29
            : base(message)
30
        { }
31
    }
32
33
    public class UlyssesCompileException : UlyssesException
34
    {
35
        public UlyssesCompileException(string message)
36
            : base(message)
37
        { }
38
    }
39
40
    public class SymbolAlreadyDefinedException : UlyssesException
41
    {
42
        public SymbolAlreadyDefinedException(string message)
43
            : base(message)
44
        { }
45
    }
46
47
}