File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
src/GitVersionCore/Configuration Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
namespace GitVersion
2
2
{
3
3
using System ;
4
+ using System . Runtime . Serialization ;
4
5
5
- public class GitVersionConfigurationException : Exception
6
+ [ Serializable ]
7
+ public class GitVersionConfigurationException : GitVersionException
6
8
{
7
- public GitVersionConfigurationException ( string msg ) : base ( msg )
9
+ public GitVersionConfigurationException ( string msg )
10
+ : base ( msg )
11
+ {
12
+ }
13
+
14
+
15
+ protected GitVersionConfigurationException ( SerializationInfo info , StreamingContext context )
16
+ : base ( info , context )
8
17
{
9
18
}
10
19
}
Original file line number Diff line number Diff line change @@ -4,15 +4,16 @@ namespace GitVersion
4
4
using System . Runtime . Serialization ;
5
5
6
6
[ Serializable ]
7
- public class OldConfigurationException : Exception
7
+ public class OldConfigurationException : GitVersionException
8
8
{
9
- public OldConfigurationException ( string message ) : base ( message )
9
+ public OldConfigurationException ( string message )
10
+ : base ( message )
10
11
{
11
12
}
12
13
13
- protected OldConfigurationException (
14
- SerializationInfo info ,
15
- StreamingContext context ) : base ( info , context )
14
+
15
+ protected OldConfigurationException ( SerializationInfo info , StreamingContext context )
16
+ : base ( info , context )
16
17
{
17
18
}
18
19
}
You can’t perform that action at this time.
0 commit comments