diff --git a/NzbDrone.Common/Exceptions/NzbDroneException.cs b/NzbDrone.Common/Exceptions/NzbDroneException.cs index b67c325157..7e0be7312d 100644 --- a/NzbDrone.Common/Exceptions/NzbDroneException.cs +++ b/NzbDrone.Common/Exceptions/NzbDroneException.cs @@ -15,5 +15,16 @@ protected NzbDroneException(string message) { } + + 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 3b3dbc5ea0..81ad976a61 100644 --- a/NzbDrone.Core/Configuration/InvalidConfigFileException.cs +++ b/NzbDrone.Core/Configuration/InvalidConfigFileException.cs @@ -6,7 +6,7 @@ namespace NzbDrone.Core.Configuration { - public class InvalidConfigFileException : Exception + public class InvalidConfigFileException : NzbDroneException { public InvalidConfigFileException(string message, Exception innerException) : base(message, innerException) {