File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
src/corelib/Core/Exceptions Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace net.openstack.Core.Exceptions
1010 /// </summary>
1111 /// <seealso cref="IObjectStorageProvider"/>
1212 [ Serializable ]
13- public class CDNNotEnabledException : Exception
13+ public class CDNNotEnabledException : InvalidOperationException
1414 {
1515 /// <summary>
1616 /// Initializes a new instance of the <see cref="CDNNotEnabledException"/> class.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace net.openstack.Core.Exceptions
99 /// </summary>
1010 /// <seealso cref="INetworksValidator.ValidateCidr"/>
1111 [ Serializable ]
12- public class CidrFormatException : Exception
12+ public class CidrFormatException : FormatException
1313 {
1414 /// <summary>
1515 /// Initializes a new instance of the <see cref="CidrFormatException"/> class.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace net.openstack.Core.Exceptions
1010 /// </summary>
1111 /// <seealso cref="IObjectStorageValidator.ValidateContainerName"/>
1212 [ Serializable ]
13- public class ContainerNameException : Exception
13+ public class ContainerNameException : ArgumentException
1414 {
1515 /// <summary>
1616 /// Initializes a new instance of the <see cref="ContainerNameException"/> class.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace net.openstack.Core.Exceptions
99 /// to a provider method is not supported by that provider.
1010 /// </summary>
1111 [ Serializable ]
12- internal class InvalidCloudIdentityException : Exception
12+ internal class InvalidCloudIdentityException : NotSupportedException
1313 {
1414 /// <summary>
1515 /// Initializes a new instance of the <see cref="InvalidCloudIdentityException"/> class
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace net.openstack.Core.Exceptions
88 /// no region was specified and no default region is available for the provider.
99 /// </summary>
1010 [ Serializable ]
11- public class NoDefaultRegionSetException : Exception
11+ public class NoDefaultRegionSetException : InvalidOperationException
1212 {
1313 /// <summary>
1414 /// Initializes a new instance of the <see cref="NoDefaultRegionSetException"/> class
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace net.openstack.Core.Exceptions
1010 /// </summary>
1111 /// <seealso cref="IObjectStorageValidator.ValidateObjectName"/>
1212 [ Serializable ]
13- public class ObjectNameException : Exception
13+ public class ObjectNameException : ArgumentException
1414 {
1515 /// <summary>
1616 /// Initializes a new instance of the <see cref="ObjectNameException"/> class.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace net.openstack.Core.Exceptions
88 /// the range supported by the provider.
99 /// </summary>
1010 [ Serializable ]
11- public class TTLLengthException : Exception
11+ public class TTLLengthException : ArgumentException
1212 {
1313 /// <summary>
1414 /// Initializes a new instance of the <see cref="TTLLengthException"/> class.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace net.openstack.Core.Exceptions
1212 /// <see cref="UserAccess.ServiceCatalog"/>.
1313 /// </summary>
1414 [ Serializable ]
15- public class UserAuthorizationException : Exception
15+ public class UserAuthorizationException : InvalidOperationException
1616 {
1717 /// <summary>
1818 /// Initializes a new instance of the <see cref="UserAuthorizationException"/> class
You can’t perform that action at this time.
0 commit comments