forked from i8beef/SAML2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSaml20FormatException.cs
More file actions
28 lines (25 loc) · 1.05 KB
/
Copy pathSaml20FormatException.cs
File metadata and controls
28 lines (25 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
namespace SAML2.Exceptions
{
/// <summary>
/// Thrown when a token does not comply with the SAML 2.0 specification.
/// </summary>
public class Saml20FormatException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="Saml20FormatException"/> class.
/// </summary>
public Saml20FormatException() { }
/// <summary>
/// Initializes a new instance of the <see cref="Saml20FormatException"/> class.
/// </summary>
/// <param name="msg">The MSG.</param>
public Saml20FormatException(string msg) : base(msg) { }
/// <summary>
/// Initializes a new instance of the <see cref="Saml20FormatException"/> class.
/// </summary>
/// <param name="msg">A message describing the problem that caused the exception.</param>
/// <param name="cause">Another exception that may be related to the problem.</param>
public Saml20FormatException(string msg, Exception cause) : base(msg, cause) { }
}
}