mirror of
https://github.com/Radarr/Radarr
synced 2025-03-03 18:36:41 +00:00
NzbDroneException now has inner exception
This commit is contained in:
parent
18fe8ecfea
commit
e10a5ca213
2 changed files with 12 additions and 1 deletions
|
@ -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)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
namespace NzbDrone.Core.Configuration
|
namespace NzbDrone.Core.Configuration
|
||||||
{
|
{
|
||||||
public class InvalidConfigFileException : Exception
|
public class InvalidConfigFileException : NzbDroneException
|
||||||
{
|
{
|
||||||
public InvalidConfigFileException(string message, Exception innerException) : base(message, innerException)
|
public InvalidConfigFileException(string message, Exception innerException) : base(message, innerException)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue