aboutsummaryrefslogtreecommitdiff
path: root/Net.Messaging.FBM/src/Exceptions
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-01-08 16:01:54 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-01-08 16:01:54 -0500
commitde94d788e9a47432a7630a8215896b8dd3628599 (patch)
tree666dec06eef861d101cb6948aff52a3d354c8d73 /Net.Messaging.FBM/src/Exceptions
parentbe6dc557a3b819248b014992eb96c1cb21f8112b (diff)
Reorder + analyzer cleanup
Diffstat (limited to 'Net.Messaging.FBM/src/Exceptions')
-rw-r--r--Net.Messaging.FBM/src/Exceptions/FBMException.cs52
-rw-r--r--Net.Messaging.FBM/src/Exceptions/FBMInvalidRequestException.cs47
-rw-r--r--Net.Messaging.FBM/src/Exceptions/InvalidResponseException.cs52
3 files changed, 0 insertions, 151 deletions
diff --git a/Net.Messaging.FBM/src/Exceptions/FBMException.cs b/Net.Messaging.FBM/src/Exceptions/FBMException.cs
deleted file mode 100644
index 1d5c7db..0000000
--- a/Net.Messaging.FBM/src/Exceptions/FBMException.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-* Copyright (c) 2022 Vaughn Nugent
-*
-* Library: VNLib
-* Package: VNLib.Net.Messaging.FBM
-* File: FBMException.cs
-*
-* FBMException.cs is part of VNLib.Net.Messaging.FBM which is part of the larger
-* VNLib collection of libraries and utilities.
-*
-* VNLib.Net.Messaging.FBM is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Affero General Public License as
-* published by the Free Software Foundation, either version 3 of the
-* License, or (at your option) any later version.
-*
-* VNLib.Net.Messaging.FBM is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Affero General Public License for more details.
-*
-* You should have received a copy of the GNU Affero General Public License
-* along with this program. If not, see https://www.gnu.org/licenses/.
-*/
-
-using System;
-using System.Runtime.Serialization;
-
-namespace VNLib.Net.Messaging.FBM
-{
- /// <summary>
- /// A base exception class for all FBM Library exceptions
- /// </summary>
- public class FBMException : Exception
- {
- ///<inheritdoc/>
- public FBMException()
- {
- }
- ///<inheritdoc/>
- public FBMException(string message) : base(message)
- {
- }
- ///<inheritdoc/>
- public FBMException(string message, Exception innerException) : base(message, innerException)
- {
- }
- ///<inheritdoc/>
- protected FBMException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- }
- }
-}
diff --git a/Net.Messaging.FBM/src/Exceptions/FBMInvalidRequestException.cs b/Net.Messaging.FBM/src/Exceptions/FBMInvalidRequestException.cs
deleted file mode 100644
index ae42797..0000000
--- a/Net.Messaging.FBM/src/Exceptions/FBMInvalidRequestException.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-* Copyright (c) 2022 Vaughn Nugent
-*
-* Library: VNLib
-* Package: VNLib.Net.Messaging.FBM
-* File: FBMInvalidRequestException.cs
-*
-* FBMInvalidRequestException.cs is part of VNLib.Net.Messaging.FBM which is part of the larger
-* VNLib collection of libraries and utilities.
-*
-* VNLib.Net.Messaging.FBM is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Affero General Public License as
-* published by the Free Software Foundation, either version 3 of the
-* License, or (at your option) any later version.
-*
-* VNLib.Net.Messaging.FBM is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Affero General Public License for more details.
-*
-* You should have received a copy of the GNU Affero General Public License
-* along with this program. If not, see https://www.gnu.org/licenses/.
-*/
-
-using System;
-
-
-namespace VNLib.Net.Messaging.FBM
-{
- /// <summary>
- /// Raised when a request message is not in a valid state and cannot be sent
- /// </summary>
- public class FBMInvalidRequestException : FBMException
- {
- public FBMInvalidRequestException()
- {
- }
-
- public FBMInvalidRequestException(string message) : base(message)
- {
- }
-
- public FBMInvalidRequestException(string message, Exception innerException) : base(message, innerException)
- {
- }
- }
-}
diff --git a/Net.Messaging.FBM/src/Exceptions/InvalidResponseException.cs b/Net.Messaging.FBM/src/Exceptions/InvalidResponseException.cs
deleted file mode 100644
index 3f0b970..0000000
--- a/Net.Messaging.FBM/src/Exceptions/InvalidResponseException.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-* Copyright (c) 2022 Vaughn Nugent
-*
-* Library: VNLib
-* Package: VNLib.Net.Messaging.FBM
-* File: InvalidResponseException.cs
-*
-* InvalidResponseException.cs is part of VNLib.Net.Messaging.FBM which is part of the larger
-* VNLib collection of libraries and utilities.
-*
-* VNLib.Net.Messaging.FBM is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Affero General Public License as
-* published by the Free Software Foundation, either version 3 of the
-* License, or (at your option) any later version.
-*
-* VNLib.Net.Messaging.FBM is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Affero General Public License for more details.
-*
-* You should have received a copy of the GNU Affero General Public License
-* along with this program. If not, see https://www.gnu.org/licenses/.
-*/
-
-using System;
-using System.Runtime.Serialization;
-
-namespace VNLib.Net.Messaging.FBM
-{
- /// <summary>
- /// Raised when a response to an FBM request is not in a valid state
- /// </summary>
- public class InvalidResponseException : FBMException
- {
- ///<inheritdoc/>
- public InvalidResponseException()
- {
- }
- ///<inheritdoc/>
- public InvalidResponseException(string message) : base(message)
- {
- }
- ///<inheritdoc/>
- public InvalidResponseException(string message, Exception innerException) : base(message, innerException)
- {
- }
- ///<inheritdoc/>
- protected InvalidResponseException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- }
- }
-}