From bfcc4833e198fdc141c6e1561228fd4cf512ff15 Mon Sep 17 00:00:00 2001 From: Railz Date: Tue, 25 Feb 2020 11:15:08 +0100 Subject: [PATCH] Made all exceptions public --- 5sim_api/Exceptions/HostingOrderException.cs | 2 +- 5sim_api/Exceptions/NoFreePhonesException.cs | 2 +- 5sim_api/Exceptions/NotEnoughProductQuantityException.cs | 2 +- 5sim_api/Exceptions/NotEnoughRatingException.cs | 2 +- 5sim_api/Exceptions/NotEnoughUserBalanceException.cs | 2 +- 5sim_api/Exceptions/OrderExpiredException.cs | 2 +- 5sim_api/Exceptions/OrderHasSmsException.cs | 2 +- 5sim_api/Exceptions/OrderNotFoundException.cs | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/5sim_api/Exceptions/HostingOrderException.cs b/5sim_api/Exceptions/HostingOrderException.cs index 37ce801..bc4f470 100644 --- a/5sim_api/Exceptions/HostingOrderException.cs +++ b/5sim_api/Exceptions/HostingOrderException.cs @@ -5,7 +5,7 @@ using System.Text; namespace YoutubeBot._5sim.Exceptions { [Serializable] - class HostingOrderException : Exception + public class HostingOrderException : Exception { public HostingOrderException() { diff --git a/5sim_api/Exceptions/NoFreePhonesException.cs b/5sim_api/Exceptions/NoFreePhonesException.cs index 7c53b6f..ca5f4de 100644 --- a/5sim_api/Exceptions/NoFreePhonesException.cs +++ b/5sim_api/Exceptions/NoFreePhonesException.cs @@ -5,7 +5,7 @@ using System.Text; namespace YoutubeBot._5sim.Exceptions { [Serializable] - class NoFreePhonesException : Exception + public class NoFreePhonesException : Exception { public NoFreePhonesException() { diff --git a/5sim_api/Exceptions/NotEnoughProductQuantityException.cs b/5sim_api/Exceptions/NotEnoughProductQuantityException.cs index 99f73ce..01bd67b 100644 --- a/5sim_api/Exceptions/NotEnoughProductQuantityException.cs +++ b/5sim_api/Exceptions/NotEnoughProductQuantityException.cs @@ -5,7 +5,7 @@ using System.Text; namespace YoutubeBot._5sim.Exceptions { [Serializable] - class NotEnoughProductQuantityException : Exception + public class NotEnoughProductQuantityException : Exception { public NotEnoughProductQuantityException() { diff --git a/5sim_api/Exceptions/NotEnoughRatingException.cs b/5sim_api/Exceptions/NotEnoughRatingException.cs index 5aa7714..66357be 100644 --- a/5sim_api/Exceptions/NotEnoughRatingException.cs +++ b/5sim_api/Exceptions/NotEnoughRatingException.cs @@ -5,7 +5,7 @@ using System.Text; namespace YoutubeBot._5sim.Exceptions { [Serializable] - class NotEnoughRatingException : Exception + public class NotEnoughRatingException : Exception { public NotEnoughRatingException() { diff --git a/5sim_api/Exceptions/NotEnoughUserBalanceException.cs b/5sim_api/Exceptions/NotEnoughUserBalanceException.cs index 357de19..662f149 100644 --- a/5sim_api/Exceptions/NotEnoughUserBalanceException.cs +++ b/5sim_api/Exceptions/NotEnoughUserBalanceException.cs @@ -5,7 +5,7 @@ using System.Text; namespace YoutubeBot._5sim.Exceptions { [Serializable] - class NotEnoughUserBalanceException : Exception + public class NotEnoughUserBalanceException : Exception { public NotEnoughUserBalanceException() { diff --git a/5sim_api/Exceptions/OrderExpiredException.cs b/5sim_api/Exceptions/OrderExpiredException.cs index 5d95a9f..68d6c2c 100644 --- a/5sim_api/Exceptions/OrderExpiredException.cs +++ b/5sim_api/Exceptions/OrderExpiredException.cs @@ -5,7 +5,7 @@ using System.Text; namespace YoutubeBot._5sim.Exceptions { [Serializable] - class OrderExpiredException : Exception + public class OrderExpiredException : Exception { public OrderExpiredException() { diff --git a/5sim_api/Exceptions/OrderHasSmsException.cs b/5sim_api/Exceptions/OrderHasSmsException.cs index b4596da..fc80d15 100644 --- a/5sim_api/Exceptions/OrderHasSmsException.cs +++ b/5sim_api/Exceptions/OrderHasSmsException.cs @@ -5,7 +5,7 @@ using System.Text; namespace YoutubeBot._5sim.Exceptions { [Serializable] - class OrderHasSmsException : Exception + public class OrderHasSmsException : Exception { public OrderHasSmsException() { diff --git a/5sim_api/Exceptions/OrderNotFoundException.cs b/5sim_api/Exceptions/OrderNotFoundException.cs index 93bd838..be57e48 100644 --- a/5sim_api/Exceptions/OrderNotFoundException.cs +++ b/5sim_api/Exceptions/OrderNotFoundException.cs @@ -5,7 +5,7 @@ using System.Text; namespace YoutubeBot._5sim.Exceptions { [Serializable] - class OrderNotFoundException : Exception + public class OrderNotFoundException : Exception { public OrderNotFoundException() {