2013-07-05 23:53:05 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Common.Exceptions
|
|
|
|
|
{
|
|
|
|
|
public abstract class NzbDroneException : ApplicationException
|
|
|
|
|
{
|
|
|
|
|
protected NzbDroneException(string message, params object[] args)
|
|
|
|
|
: base(string.Format(message, args))
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected NzbDroneException(string message)
|
|
|
|
|
: base(message)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2013-09-11 05:55:18 +00:00
|
|
|
|
|
|
|
|
|
protected NzbDroneException(string message, Exception innerException, params object[] args)
|
|
|
|
|
: base(string.Format(message, args), innerException)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected NzbDroneException(string message, Exception innerException)
|
|
|
|
|
: base(message, innerException)
|
|
|
|
|
{
|
|
|
|
|
}
|
2013-07-05 23:53:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|