Imported first version
This commit is contained in:
18
5sim_api/Exceptions/HostingOrderException.cs
Normal file
18
5sim_api/Exceptions/HostingOrderException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
18
5sim_api/Exceptions/NoFreePhonesException.cs
Normal file
18
5sim_api/Exceptions/NoFreePhonesException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
18
5sim_api/Exceptions/NotEnoughProductQuantityException.cs
Normal file
18
5sim_api/Exceptions/NotEnoughProductQuantityException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
18
5sim_api/Exceptions/NotEnoughRatingException.cs
Normal file
18
5sim_api/Exceptions/NotEnoughRatingException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
18
5sim_api/Exceptions/NotEnoughUserBalanceException.cs
Normal file
18
5sim_api/Exceptions/NotEnoughUserBalanceException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
18
5sim_api/Exceptions/OrderExpiredException.cs
Normal file
18
5sim_api/Exceptions/OrderExpiredException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
18
5sim_api/Exceptions/OrderHasSmsException.cs
Normal file
18
5sim_api/Exceptions/OrderHasSmsException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
18
5sim_api/Exceptions/OrderNotFoundException.cs
Normal file
18
5sim_api/Exceptions/OrderNotFoundException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user