NanoXLSX.Core 3.0.0-rc.3
Loading...
Searching...
No Matches
PackageException.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 */
7using System;
8using System.Runtime.Serialization;
9
10namespace NanoXLSX.Exceptions
11{
15 [Serializable]
16 public class PackageException : Exception
17 {
22 {
23 }
24
29 public PackageException(string message)
30 : base(message)
31 { }
32
38 public PackageException(string message, Exception inner)
39 : base(message, inner)
40 { }
41
47 protected PackageException(SerializationInfo info, StreamingContext context)
48 : base(info, context)
49 {
50 }
51 }
52}
PackageException(string message)
Constructor with passed message.
PackageException(SerializationInfo info, StreamingContext context)
Constructor for deserialization purpose.
PackageException(string message, Exception inner)
Constructor with passed message and inner exception.