Skip to content

Commit fd689c8

Browse files
committed
Updated default error messages for exception classes
1 parent 61b4c70 commit fd689c8

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/corelib/Core/Exceptions/CDNNotEnabledException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class CDNNotEnabledException : Exception
1616
/// Initializes a new instance of the <see cref="CDNNotEnabledException"/> class.
1717
/// </summary>
1818
public CDNNotEnabledException()
19+
: base("The specified container is not CDN-enabled.")
1920
{
2021
}
2122

src/corelib/Core/Exceptions/CidrFormatException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public class CidrFormatException : Exception
1515
/// Initializes a new instance of the <see cref="CidrFormatException"/> class.
1616
/// </summary>
1717
public CidrFormatException()
18+
: base("The specified CIDR is not in the correct format.")
1819
{
1920
}
2021

src/corelib/Core/Exceptions/ContainerNameException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class ContainerNameException : Exception
1616
/// Initializes a new instance of the <see cref="ContainerNameException"/> class.
1717
/// </summary>
1818
public ContainerNameException()
19+
: base("The specified container name is not valid.")
1920
{
2021
}
2122

src/corelib/Core/Exceptions/ObjectNameException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class ObjectNameException : Exception
1616
/// Initializes a new instance of the <see cref="ObjectNameException"/> class.
1717
/// </summary>
1818
public ObjectNameException()
19+
: base("The specified object name is not valid.")
1920
{
2021
}
2122

src/corelib/Core/Exceptions/TTLLengthException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public class TTLLengthException : Exception
1414
/// Initializes a new instance of the <see cref="TTLLengthException"/> class.
1515
/// </summary>
1616
public TTLLengthException()
17+
: base("The specified TTL is outside the range supported by the provider.")
1718
{
1819
}
1920

0 commit comments

Comments
 (0)