mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
source code checkin
This commit is contained in:
parent
5f8fb2c825
commit
7e57b72e35
675 changed files with 168433 additions and 0 deletions
26
src/WPFSharp.Globalizer/Exceptions/StyleNotFoundException.cs
Normal file
26
src/WPFSharp.Globalizer/Exceptions/StyleNotFoundException.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Security;
|
||||
|
||||
namespace WPFSharp.Globalizer.Exceptions
|
||||
{
|
||||
[Serializable]
|
||||
public class StyleNotFoundException : ArgumentException, ISerializable
|
||||
{
|
||||
public StyleNotFoundException() : base() { }
|
||||
|
||||
public StyleNotFoundException(string message) : base(message) { }
|
||||
|
||||
public StyleNotFoundException(string message, Exception innerException) : base(message, innerException) { }
|
||||
|
||||
public StyleNotFoundException(string message, string invalidStyleName, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
InvalidStyleName = invalidStyleName;
|
||||
}
|
||||
|
||||
[SecuritySafeCritical]
|
||||
protected StyleNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
||||
|
||||
public virtual string InvalidStyleName { get; private set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue