From 4adc5968769e767a1d39537e129087ba0b0857f9 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Sun, 28 Jul 2024 18:06:02 +0300 Subject: [PATCH] ref - brk|doc - Moved exception classes --- Type: ref Breaking: True Doc Required: True Backport Required: False Part: 1/1 --- BassBoom.Basolia/Devices/DeviceTools.cs | 1 + BassBoom.Basolia/{ => Exceptions}/BasoliaException.cs | 2 +- BassBoom.Basolia/{ => Exceptions}/BasoliaMiscException.cs | 2 +- BassBoom.Basolia/{ => Exceptions}/BasoliaOutException.cs | 2 +- BassBoom.Basolia/File/FileTools.cs | 1 + BassBoom.Basolia/Format/AudioInfoTools.cs | 1 + BassBoom.Basolia/Format/DecodeTools.cs | 1 + BassBoom.Basolia/Format/FormatTools.cs | 1 + BassBoom.Basolia/InitBasolia.cs | 1 + BassBoom.Basolia/Playback/PlaybackPositioningTools.cs | 1 + BassBoom.Basolia/Playback/PlaybackTools.cs | 1 + BassBoom.Basolia/Radio/IcecastServer.cs | 1 + BassBoom.Basolia/Radio/RadioTools.cs | 1 + BassBoom.Basolia/Radio/ShoutcastServer.cs | 1 + BassBoom.Basolia/Radio/StreamInfo.cs | 1 + BassBoom.Cli/CliBase/Equalizer.cs | 2 +- BassBoom.Cli/CliBase/Player.cs | 2 +- BassBoom.Cli/CliBase/Radio.cs | 2 +- 18 files changed, 18 insertions(+), 6 deletions(-) rename BassBoom.Basolia/{ => Exceptions}/BasoliaException.cs (98%) rename BassBoom.Basolia/{ => Exceptions}/BasoliaMiscException.cs (97%) rename BassBoom.Basolia/{ => Exceptions}/BasoliaOutException.cs (98%) diff --git a/BassBoom.Basolia/Devices/DeviceTools.cs b/BassBoom.Basolia/Devices/DeviceTools.cs index f32854c..c520f6b 100644 --- a/BassBoom.Basolia/Devices/DeviceTools.cs +++ b/BassBoom.Basolia/Devices/DeviceTools.cs @@ -17,6 +17,7 @@ // along with this program. If not, see . // +using BassBoom.Basolia.Exceptions; using BassBoom.Basolia.Helpers; using BassBoom.Native; using BassBoom.Native.Interop.Init; diff --git a/BassBoom.Basolia/BasoliaException.cs b/BassBoom.Basolia/Exceptions/BasoliaException.cs similarity index 98% rename from BassBoom.Basolia/BasoliaException.cs rename to BassBoom.Basolia/Exceptions/BasoliaException.cs index 58b6e3b..45475ad 100644 --- a/BassBoom.Basolia/BasoliaException.cs +++ b/BassBoom.Basolia/Exceptions/BasoliaException.cs @@ -22,7 +22,7 @@ using System; using System.Runtime.InteropServices; -namespace BassBoom.Basolia +namespace BassBoom.Basolia.Exceptions { /// /// Basolia exception diff --git a/BassBoom.Basolia/BasoliaMiscException.cs b/BassBoom.Basolia/Exceptions/BasoliaMiscException.cs similarity index 97% rename from BassBoom.Basolia/BasoliaMiscException.cs rename to BassBoom.Basolia/Exceptions/BasoliaMiscException.cs index 01ef6e2..347b30f 100644 --- a/BassBoom.Basolia/BasoliaMiscException.cs +++ b/BassBoom.Basolia/Exceptions/BasoliaMiscException.cs @@ -19,7 +19,7 @@ using System; -namespace BassBoom.Basolia +namespace BassBoom.Basolia.Exceptions { /// /// Basolia miscellaneous exception (ones that don't have to do with MPG123 or OUT123) diff --git a/BassBoom.Basolia/BasoliaOutException.cs b/BassBoom.Basolia/Exceptions/BasoliaOutException.cs similarity index 98% rename from BassBoom.Basolia/BasoliaOutException.cs rename to BassBoom.Basolia/Exceptions/BasoliaOutException.cs index 78a41ed..e5d35da 100644 --- a/BassBoom.Basolia/BasoliaOutException.cs +++ b/BassBoom.Basolia/Exceptions/BasoliaOutException.cs @@ -22,7 +22,7 @@ using System; using System.Runtime.InteropServices; -namespace BassBoom.Basolia +namespace BassBoom.Basolia.Exceptions { /// /// Basolia output exception diff --git a/BassBoom.Basolia/File/FileTools.cs b/BassBoom.Basolia/File/FileTools.cs index 3ae3766..1c9042a 100644 --- a/BassBoom.Basolia/File/FileTools.cs +++ b/BassBoom.Basolia/File/FileTools.cs @@ -17,6 +17,7 @@ // along with this program. If not, see . // +using BassBoom.Basolia.Exceptions; using BassBoom.Basolia.Playback; using BassBoom.Basolia.Radio; using BassBoom.Native; diff --git a/BassBoom.Basolia/Format/AudioInfoTools.cs b/BassBoom.Basolia/Format/AudioInfoTools.cs index 10595a9..847694f 100644 --- a/BassBoom.Basolia/Format/AudioInfoTools.cs +++ b/BassBoom.Basolia/Format/AudioInfoTools.cs @@ -31,6 +31,7 @@ using SpecProbe.Software.Platform; using BassBoom.Basolia.Enumerations; using BassBoom.Native; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Basolia.Format { diff --git a/BassBoom.Basolia/Format/DecodeTools.cs b/BassBoom.Basolia/Format/DecodeTools.cs index f19f8f3..1561557 100644 --- a/BassBoom.Basolia/Format/DecodeTools.cs +++ b/BassBoom.Basolia/Format/DecodeTools.cs @@ -17,6 +17,7 @@ // along with this program. If not, see . // +using BassBoom.Basolia.Exceptions; using BassBoom.Basolia.File; using BassBoom.Basolia.Helpers; using BassBoom.Native; diff --git a/BassBoom.Basolia/Format/FormatTools.cs b/BassBoom.Basolia/Format/FormatTools.cs index 1ebaf06..2122f8f 100644 --- a/BassBoom.Basolia/Format/FormatTools.cs +++ b/BassBoom.Basolia/Format/FormatTools.cs @@ -26,6 +26,7 @@ using BassBoom.Native.Interop.Analysis; using SpecProbe.Software.Platform; using BassBoom.Native; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Basolia.Format { diff --git a/BassBoom.Basolia/InitBasolia.cs b/BassBoom.Basolia/InitBasolia.cs index d65de08..c6e6fac 100644 --- a/BassBoom.Basolia/InitBasolia.cs +++ b/BassBoom.Basolia/InitBasolia.cs @@ -17,6 +17,7 @@ // along with this program. If not, see . // +using BassBoom.Basolia.Exceptions; using BassBoom.Native; using BassBoom.Native.Interop.Init; using BassBoom.Native.Interop.Output; diff --git a/BassBoom.Basolia/Playback/PlaybackPositioningTools.cs b/BassBoom.Basolia/Playback/PlaybackPositioningTools.cs index 612bba0..f6ddf02 100644 --- a/BassBoom.Basolia/Playback/PlaybackPositioningTools.cs +++ b/BassBoom.Basolia/Playback/PlaybackPositioningTools.cs @@ -26,6 +26,7 @@ using System.Threading; using BassBoom.Basolia.Lyrics; using BassBoom.Native; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Basolia.Playback { diff --git a/BassBoom.Basolia/Playback/PlaybackTools.cs b/BassBoom.Basolia/Playback/PlaybackTools.cs index 2cd96ae..31b2d11 100644 --- a/BassBoom.Basolia/Playback/PlaybackTools.cs +++ b/BassBoom.Basolia/Playback/PlaybackTools.cs @@ -34,6 +34,7 @@ using System.Text.RegularExpressions; using BassBoom.Basolia.Enumerations; using BassBoom.Native; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Basolia.Playback { diff --git a/BassBoom.Basolia/Radio/IcecastServer.cs b/BassBoom.Basolia/Radio/IcecastServer.cs index efea30f..b3bee49 100644 --- a/BassBoom.Basolia/Radio/IcecastServer.cs +++ b/BassBoom.Basolia/Radio/IcecastServer.cs @@ -24,6 +24,7 @@ using System.Threading.Tasks; using System.Diagnostics; using System.Linq; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Basolia.Radio { diff --git a/BassBoom.Basolia/Radio/RadioTools.cs b/BassBoom.Basolia/Radio/RadioTools.cs index 0ed05ed..40461f4 100644 --- a/BassBoom.Basolia/Radio/RadioTools.cs +++ b/BassBoom.Basolia/Radio/RadioTools.cs @@ -17,6 +17,7 @@ // along with this program. If not, see . // +using BassBoom.Basolia.Exceptions; using System; using System.Linq; using System.Net.Http; diff --git a/BassBoom.Basolia/Radio/ShoutcastServer.cs b/BassBoom.Basolia/Radio/ShoutcastServer.cs index 0a32314..f9e2e85 100644 --- a/BassBoom.Basolia/Radio/ShoutcastServer.cs +++ b/BassBoom.Basolia/Radio/ShoutcastServer.cs @@ -23,6 +23,7 @@ using HtmlAgilityPack; using System.Threading.Tasks; using System.Diagnostics; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Basolia.Radio { diff --git a/BassBoom.Basolia/Radio/StreamInfo.cs b/BassBoom.Basolia/Radio/StreamInfo.cs index fecdaa1..f375aa1 100644 --- a/BassBoom.Basolia/Radio/StreamInfo.cs +++ b/BassBoom.Basolia/Radio/StreamInfo.cs @@ -19,6 +19,7 @@ using System; using System.Diagnostics; +using BassBoom.Basolia.Exceptions; using Newtonsoft.Json.Linq; namespace BassBoom.Basolia.Radio diff --git a/BassBoom.Cli/CliBase/Equalizer.cs b/BassBoom.Cli/CliBase/Equalizer.cs index e334dc7..1518c38 100644 --- a/BassBoom.Cli/CliBase/Equalizer.cs +++ b/BassBoom.Cli/CliBase/Equalizer.cs @@ -16,7 +16,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . // -using BassBoom.Basolia; using System; using System.Text; using Terminaux.Base; @@ -31,6 +30,7 @@ using System.Collections.Generic; using Terminaux.Inputs.Styles.Selection; using Terminaux.Base.Extensions; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Cli.CliBase { diff --git a/BassBoom.Cli/CliBase/Player.cs b/BassBoom.Cli/CliBase/Player.cs index 812f8f4..eb75d52 100644 --- a/BassBoom.Cli/CliBase/Player.cs +++ b/BassBoom.Cli/CliBase/Player.cs @@ -17,7 +17,6 @@ // along with this program. If not, see . // -using BassBoom.Basolia; using BassBoom.Basolia.File; using BassBoom.Basolia.Playback; using System; @@ -35,6 +34,7 @@ using Terminaux.Reader; using Terminaux.Inputs.Styles.Selection; using Terminaux.Inputs; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Cli.CliBase { diff --git a/BassBoom.Cli/CliBase/Radio.cs b/BassBoom.Cli/CliBase/Radio.cs index 8143562..d7239f9 100644 --- a/BassBoom.Cli/CliBase/Radio.cs +++ b/BassBoom.Cli/CliBase/Radio.cs @@ -17,7 +17,6 @@ // along with this program. If not, see . // -using BassBoom.Basolia; using BassBoom.Basolia.File; using BassBoom.Basolia.Playback; using System; @@ -35,6 +34,7 @@ using Terminaux.Reader; using Terminaux.Inputs.Styles.Selection; using Terminaux.Inputs; +using BassBoom.Basolia.Exceptions; namespace BassBoom.Cli.CliBase {