1 using System;
2
3 namespace Calculator
4 {
5 public class ParsingException : Exception
6 {
7 public ParsingException(string message) : base(message)
8 {
9 }
10 }
11
12 public class DivisionByZeroException : Exception
13 {
14 public DivisionByZeroException(string message) : base(message)
15 {
16 }
17 }
18
19 public class VariableNotFoundException : Exception
20 {
21 public VariableNotFoundException(string message) : base(message)
22 {
23 }
24 }
25
26 public class LogicErrorException : Exception
27 {
28 public LogicErrorException(string message) : base(message)
29 {
30 }
31 }
32 }