NanoXLSX.Core 3.0.0-rc.3
Loading...
Searching...
No Matches
FormatException.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
12{
16 [Serializable]
17 public class FormatException : Exception
18 {
22 public FormatException() : base()
23 { }
24
28 public FormatException(string message)
29 : base(message)
30 { }
31
37 public FormatException(string message, Exception inner)
38 : base(message, inner)
39 { }
40
46 protected FormatException(SerializationInfo info, StreamingContext context)
47 : base(info, context)
48 {
49 }
50 }
51}
FormatException()
Default constructor.
FormatException(SerializationInfo info, StreamingContext context)
Constructor for deserialization purpose.
FormatException(string message, Exception inner)
Constructor with passed message and inner exception.
FormatException(string message)
Constructor with passed message.