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 11namespace GitVersion
22{
33 using System ;
4+ using System . Runtime . Serialization ;
45
5- public class GitVersionConfigurationException : Exception
6+ [ Serializable ]
7+ public class GitVersionConfigurationException : GitVersionException
68 {
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 )
817 {
918 }
1019 }
Original file line number Diff line number Diff line change @@ -4,15 +4,16 @@ namespace GitVersion
44 using System . Runtime . Serialization ;
55
66 [ Serializable ]
7- public class OldConfigurationException : Exception
7+ public class OldConfigurationException : GitVersionException
88 {
9- public OldConfigurationException ( string message ) : base ( message )
9+ public OldConfigurationException ( string message )
10+ : base ( message )
1011 {
1112 }
1213
13- protected OldConfigurationException (
14- SerializationInfo info ,
15- StreamingContext context ) : base ( info , context )
14+
15+ protected OldConfigurationException ( SerializationInfo info , StreamingContext context )
16+ : base ( info , context )
1617 {
1718 }
1819 }
You can’t perform that action at this time.
0 commit comments