mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-28 10:48:46 +00:00
14 lines
No EOL
327 B
C#
14 lines
No EOL
327 B
C#
using System;
|
|
using NzbDrone.Common.Exceptions;
|
|
|
|
namespace NzbDrone.Core.Datastore
|
|
{
|
|
public class ModelNotFoundException : NzbDroneException
|
|
{
|
|
public ModelNotFoundException(Type modelType, int modelId)
|
|
: base("{0} with ID {1} does not exist", modelType.Name, modelId)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |