|
2 | 2 |
|
3 | 3 | namespace EasyEvents |
4 | 4 | { |
5 | | - [Serializable()] |
6 | | - public class InvalidArgumentLengthException : System.Exception |
| 5 | + [Serializable] |
| 6 | + public class InvalidArgumentLengthException : Exception |
7 | 7 | { |
8 | | - public InvalidArgumentLengthException() : base() { } |
| 8 | + public InvalidArgumentLengthException() { } |
9 | 9 | public InvalidArgumentLengthException(string message) : base(message) { } |
10 | | - public InvalidArgumentLengthException(string message, System.Exception inner) : base(message, inner) { } |
| 10 | + public InvalidArgumentLengthException(string message, Exception inner) : base(message, inner) { } |
11 | 11 |
|
12 | 12 | protected InvalidArgumentLengthException(System.Runtime.Serialization.SerializationInfo info, |
13 | 13 | System.Runtime.Serialization.StreamingContext context) : base(info, context) { } |
14 | 14 | } |
15 | 15 |
|
16 | | - [Serializable()] |
17 | | - public class InvalidArgumentException : System.Exception |
| 16 | + [Serializable] |
| 17 | + public class InvalidArgumentException : Exception |
18 | 18 | { |
19 | | - public InvalidArgumentException() : base() { } |
| 19 | + public InvalidArgumentException() { } |
20 | 20 | public InvalidArgumentException(string message) : base(message) { } |
21 | | - public InvalidArgumentException(string message, System.Exception inner) : base(message, inner) { } |
| 21 | + public InvalidArgumentException(string message, Exception inner) : base(message, inner) { } |
22 | 22 |
|
23 | 23 | protected InvalidArgumentException(System.Runtime.Serialization.SerializationInfo info, |
24 | 24 | System.Runtime.Serialization.StreamingContext context) : base(info, context) { } |
25 | 25 | } |
26 | 26 |
|
27 | | - [Serializable()] |
28 | | - public class InvalidCommandException : System.Exception |
| 27 | + [Serializable] |
| 28 | + public class InvalidCommandException : Exception |
29 | 29 | { |
30 | | - public InvalidCommandException() : base() { } |
| 30 | + public InvalidCommandException() { } |
31 | 31 | public InvalidCommandException(string message) : base(message) { } |
32 | | - public InvalidCommandException(string message, System.Exception inner) : base(message, inner) { } |
| 32 | + public InvalidCommandException(string message, Exception inner) : base(message, inner) { } |
33 | 33 |
|
34 | 34 | protected InvalidCommandException(System.Runtime.Serialization.SerializationInfo info, |
35 | 35 | System.Runtime.Serialization.StreamingContext context) : base(info, context) { } |
36 | 36 | } |
37 | 37 |
|
38 | | - [Serializable()] |
39 | | - public class CommandErrorException : System.Exception |
| 38 | + [Serializable] |
| 39 | + public class CommandErrorException : Exception |
40 | 40 | { |
41 | | - public CommandErrorException() : base() { } |
| 41 | + public CommandErrorException() { } |
42 | 42 | public CommandErrorException(string message) : base(message) { } |
43 | | - public CommandErrorException(string message, System.Exception inner) : base(message, inner) { } |
| 43 | + public CommandErrorException(string message, Exception inner) : base(message, inner) { } |
44 | 44 |
|
45 | 45 | protected CommandErrorException(System.Runtime.Serialization.SerializationInfo info, |
46 | 46 | System.Runtime.Serialization.StreamingContext context) : base(info, context) { } |
47 | 47 | } |
48 | 48 |
|
49 | | - [Serializable()] |
50 | | - public class EventRunErrorException : System.Exception |
| 49 | + [Serializable] |
| 50 | + public class EventRunErrorException : Exception |
51 | 51 | { |
52 | | - public EventRunErrorException() : base() { } |
| 52 | + public EventRunErrorException() { } |
53 | 53 | public EventRunErrorException(string message) : base(message) { } |
54 | | - public EventRunErrorException(string message, System.Exception inner) : base(message, inner) { } |
| 54 | + public EventRunErrorException(string message, Exception inner) : base(message, inner) { } |
55 | 55 |
|
56 | 56 | protected EventRunErrorException(System.Runtime.Serialization.SerializationInfo info, |
57 | 57 | System.Runtime.Serialization.StreamingContext context) : base(info, context) { } |
58 | 58 | } |
59 | 59 |
|
60 | | - [Serializable()] |
61 | | - public class EventNotFoundException : System.Exception |
| 60 | + [Serializable] |
| 61 | + public class EventNotFoundException : Exception |
62 | 62 | { |
63 | | - public EventNotFoundException() : base() { } |
| 63 | + public EventNotFoundException() { } |
64 | 64 | public EventNotFoundException(string message) : base(message) { } |
65 | | - public EventNotFoundException(string message, System.Exception inner) : base(message, inner) { } |
| 65 | + public EventNotFoundException(string message, Exception inner) : base(message, inner) { } |
66 | 66 |
|
67 | 67 | protected EventNotFoundException(System.Runtime.Serialization.SerializationInfo info, |
68 | 68 | System.Runtime.Serialization.StreamingContext context) : base(info, context) { } |
|
0 commit comments