NanoXLSX.Core 3.0.0-rc.3
Loading...
Searching...
No Matches
NotSupportedContentException.cs
1/*
2 * NanoXLSX is a small .NET library to generate and read XLSX (Microsoft Excel 2007 or newer) files in an easy and native way
3 * Copyright Raphael Stoeckli © 2025
4 * This library is licensed under the MIT License.
5 * You find a copy of the license in project folder or on: http://opensource.org/licenses/MIT
6 */
7
8using System;
9using System.Runtime.Serialization;
10
11namespace NanoXLSX.Exceptions
12{
16 [Serializable]
17 public class NotSupportedContentException : Exception
18 {
23 {
24 }
25
30 public NotSupportedContentException(string message)
31 : base(message)
32 { }
33
39 public NotSupportedContentException(string message, Exception inner)
40 : base(message, inner)
41 { }
42
48 protected NotSupportedContentException(SerializationInfo info, StreamingContext context)
49 : base(info, context)
50 {
51 }
52 }
53}
NotSupportedContentException(string message, Exception inner)
Constructor with passed message and inner exception.
NotSupportedContentException(SerializationInfo info, StreamingContext context)
Constructor for deserialization purpose.
NotSupportedContentException(string message)
Constructor with passed message.