diff --git a/NzbDrone.Common/Exceptions/NzbDroneException.cs b/NzbDrone.Common/Exceptions/NzbDroneException.cs index b67c32515..7e0be7312 100644 --- a/NzbDrone.Common/Exceptions/NzbDroneException.cs +++ b/NzbDrone.Common/Exceptions/NzbDroneException.cs @@ -15,5 +15,16 @@ namespace NzbDrone.Common.Exceptions { } + + protected NzbDroneException(string message, Exception innerException, params object[] args) + : base(string.Format(message, args), innerException) + { + + } + + protected NzbDroneException(string message, Exception innerException) + : base(message, innerException) + { + } } } diff --git a/NzbDrone.Core/Configuration/InvalidConfigFileException.cs b/NzbDrone.Core/Configuration/InvalidConfigFileException.cs index 3b3dbc5ea..81ad976a6 100644 --- a/NzbDrone.Core/Configuration/InvalidConfigFileException.cs +++ b/NzbDrone.Core/Configuration/InvalidConfigFileException.cs @@ -6,7 +6,7 @@ using NzbDrone.Common.Exceptions; namespace NzbDrone.Core.Configuration { - public class InvalidConfigFileException : Exception + public class InvalidConfigFileException : NzbDroneException { public InvalidConfigFileException(string message, Exception innerException) : base(message, innerException) {