mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04:00
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace NzbDrone.Common.Exceptions
|
|
{
|
|
public class SonarrStartupException : NzbDroneException
|
|
{
|
|
public SonarrStartupException(string message, params object[] args)
|
|
: base("Sonarr failed to start: " + string.Format(message, args))
|
|
{
|
|
|
|
}
|
|
|
|
public SonarrStartupException(string message)
|
|
: base("Sonarr failed to start: " + message)
|
|
{
|
|
|
|
}
|
|
|
|
public SonarrStartupException()
|
|
: base("Sonarr failed to start")
|
|
{
|
|
|
|
}
|
|
|
|
public SonarrStartupException(Exception innerException, string message, params object[] args)
|
|
: base("Sonarr failed to start: " + string.Format(message, args), innerException)
|
|
{
|
|
}
|
|
|
|
public SonarrStartupException(Exception innerException, string message)
|
|
: base("Sonarr failed to start: " + message, innerException)
|
|
{
|
|
}
|
|
|
|
public SonarrStartupException(Exception innerException)
|
|
: base("Sonarr failed to start: " + innerException.Message)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|