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