Make publicly exposed internal exceptions public

This commit is contained in:
Ronald Barendse
2019-11-15 21:19:22 +01:00
parent 34008edd34
commit 979ccebe75
4 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ namespace Umbraco.Core.Exceptions
/// </summary>
/// <seealso cref="System.Exception" />
[Serializable]
internal class PanicException : Exception
public class PanicException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="PanicException" /> class.

View File

@@ -8,7 +8,7 @@ namespace Umbraco.Web.Install
/// </summary>
/// <seealso cref="System.Exception" />
[Serializable]
internal class InstallException : Exception
public class InstallException : Exception
{
/// <summary>
/// Gets the view.

View File

@@ -8,7 +8,7 @@ namespace Umbraco.Web.Media.Exif
/// </summary>
/// <seealso cref="System.Exception" />
[Serializable]
internal class NotValidExifFileException : Exception
public class NotValidExifFileException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="NotValidExifFileException" /> class.

View File

@@ -50,7 +50,7 @@ namespace Umbraco.Web.Media.Exif
/// </summary>
/// <seealso cref="System.Exception" />
[Serializable]
internal class NotValidJPEGFileException : Exception
public class NotValidJPEGFileException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="NotValidJPEGFileException" /> class.
@@ -91,7 +91,7 @@ namespace Umbraco.Web.Media.Exif
/// </summary>
/// <seealso cref="System.Exception" />
[Serializable]
internal class NotValidTIFFileException : Exception
public class NotValidTIFFileException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="NotValidTIFFileException" /> class.
@@ -173,7 +173,7 @@ namespace Umbraco.Web.Media.Exif
/// </summary>
/// <seealso cref="System.Exception" />
[Serializable]
internal class SectionExceeds64KBException : Exception
public class SectionExceeds64KBException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="SectionExceeds64KBException" /> class.