|
|
@ -3,7 +3,7 @@ using NzbDrone.Common.Exceptions;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Datastore
|
|
|
|
namespace NzbDrone.Core.Datastore
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class CorruptDatabaseException : NzbDroneException
|
|
|
|
public class CorruptDatabaseException : SonarrStartupException
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public CorruptDatabaseException(string message, params object[] args)
|
|
|
|
public CorruptDatabaseException(string message, params object[] args)
|
|
|
|
: base(message, args)
|
|
|
|
: base(message, args)
|
|
|
@ -16,12 +16,12 @@ namespace NzbDrone.Core.Datastore
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public CorruptDatabaseException(string message, Exception innerException, params object[] args)
|
|
|
|
public CorruptDatabaseException(string message, Exception innerException, params object[] args)
|
|
|
|
: base(message, innerException, args)
|
|
|
|
: base(innerException, message, args)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public CorruptDatabaseException(string message, Exception innerException)
|
|
|
|
public CorruptDatabaseException(string message, Exception innerException)
|
|
|
|
: base(message, innerException)
|
|
|
|
: base(innerException, message)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|