aboutsummaryrefslogtreecommitdiff
path: root/lib/Net.Compression/VNLib.Net.Compression/NativeCompressionException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net.Compression/VNLib.Net.Compression/NativeCompressionException.cs')
-rw-r--r--lib/Net.Compression/VNLib.Net.Compression/NativeCompressionException.cs42
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/Net.Compression/VNLib.Net.Compression/NativeCompressionException.cs b/lib/Net.Compression/VNLib.Net.Compression/NativeCompressionException.cs
new file mode 100644
index 0000000..2f523e2
--- /dev/null
+++ b/lib/Net.Compression/VNLib.Net.Compression/NativeCompressionException.cs
@@ -0,0 +1,42 @@
+/*
+* Copyright (c) 2023 Vaughn Nugent
+*
+* Library: VNLib
+* Package: VNLib.Net.Compression
+* File: NativeCompressionException.cs
+*
+* NativeCompressionException.cs is part of VNLib.Net.Compression which is part of
+* the larger VNLib collection of libraries and utilities.
+*
+* VNLib.Net.Compression is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published
+* by the Free Software Foundation, either version 2 of the License,
+* or (at your option) any later version.
+*
+* VNLib.Net.Compression 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
+* General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with VNLib.Net.Compression. If not, see http://www.gnu.org/licenses/.
+*/
+
+using System;
+
+using VNLib.Utils.Native;
+
+namespace VNLib.Net.Compression
+{
+ internal sealed class NativeCompressionException : NativeLibraryException
+ {
+ public NativeCompressionException()
+ { }
+
+ public NativeCompressionException(string message) : base(message)
+ { }
+
+ public NativeCompressionException(string message, Exception innerException) : base(message, innerException)
+ { }
+ }
+} \ No newline at end of file