Imported first version

This commit is contained in:
Railz
2020-02-24 21:18:02 +01:00
parent b9f8647778
commit 894c1ec9df
15 changed files with 539 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YoutubeBot._5sim.Exceptions
{
[Serializable]
class HostingOrderException : Exception
{
public HostingOrderException()
{
}
public HostingOrderException(String message)
: base(message)
{
}
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YoutubeBot._5sim.Exceptions
{
[Serializable]
class NoFreePhonesException : Exception
{
public NoFreePhonesException()
{
}
public NoFreePhonesException(String message)
: base(message)
{
}
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YoutubeBot._5sim.Exceptions
{
[Serializable]
class NotEnoughProductQuantityException : Exception
{
public NotEnoughProductQuantityException()
{
}
public NotEnoughProductQuantityException(String message)
: base(message)
{
}
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YoutubeBot._5sim.Exceptions
{
[Serializable]
class NotEnoughRatingException : Exception
{
public NotEnoughRatingException()
{
}
public NotEnoughRatingException(String message)
: base(message)
{
}
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YoutubeBot._5sim.Exceptions
{
[Serializable]
class NotEnoughUserBalanceException : Exception
{
public NotEnoughUserBalanceException()
{
}
public NotEnoughUserBalanceException(String message)
: base(message)
{
}
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YoutubeBot._5sim.Exceptions
{
[Serializable]
class OrderExpiredException : Exception
{
public OrderExpiredException()
{
}
public OrderExpiredException(String message)
: base(message)
{
}
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YoutubeBot._5sim.Exceptions
{
[Serializable]
class OrderHasSmsException : Exception
{
public OrderHasSmsException()
{
}
public OrderHasSmsException(String message)
: base(message)
{
}
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YoutubeBot._5sim.Exceptions
{
[Serializable]
class OrderNotFoundException : Exception
{
public OrderNotFoundException()
{
}
public OrderNotFoundException(String message)
: base(message)
{
}
}
}