aboutsummaryrefslogtreecommitdiff
path: root/Net.Messaging.FBM/src/Exceptions/FBMException.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-01-08 14:44:01 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-01-08 14:44:01 -0500
commitbe6dc557a3b819248b014992eb96c1cb21f8112b (patch)
tree5361530552856ba8154bfcfbfac8377549117c9e /Net.Messaging.FBM/src/Exceptions/FBMException.cs
parent072a1294646542a73007784d08a35ffcad557b1b (diff)
Initial commit
Diffstat (limited to 'Net.Messaging.FBM/src/Exceptions/FBMException.cs')
-rw-r--r--Net.Messaging.FBM/src/Exceptions/FBMException.cs52
1 files changed, 52 insertions, 0 deletions
diff --git a/Net.Messaging.FBM/src/Exceptions/FBMException.cs b/Net.Messaging.FBM/src/Exceptions/FBMException.cs
new file mode 100644
index 0000000..1d5c7db
--- /dev/null
+++ b/Net.Messaging.FBM/src/Exceptions/FBMException.cs
@@ -0,0 +1,52 @@
+/*
+* 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)
+ {
+ }
+ }
+}