Implemented CatalogImageMissingException in LocalFileImageService

This commit is contained in:
Steve Smith
2017-04-30 08:26:08 -04:00
parent bc088beb83
commit 3b1e46d4d6
2 changed files with 19 additions and 6 deletions

View File

@@ -4,10 +4,15 @@ namespace ApplicationCore.Exceptions
{
public class CatalogImageMissingException : Exception
{
public CatalogImageMissingException(string message,
Exception innerException = null)
public CatalogImageMissingException(string message,
Exception innerException = null)
: base(message, innerException: innerException)
{
}
public CatalogImageMissingException(Exception innerException)
: base("No catalog image found for the provided id.",
innerException: innerException)
{
}
}
}