/
ChromiumProcessException.cs
46 lines (42 loc) · 1.62 KB
/
ChromiumProcessException.cs
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Runtime.Serialization;
namespace PuppeteerSharp
{
/// <summary>
/// Chromium process exception thrown by <see cref="Launcher"/>.
/// </summary>
[Obsolete("ProcessException will be thrown")]
[Serializable]
public class ChromiumProcessException : PuppeteerException
{
/// <summary>
/// Initializes a new instance of the <see cref="ChromiumProcessException"/> class.
/// </summary>
public ChromiumProcessException()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ChromiumProcessException"/> class.
/// </summary>
/// <param name="message">Message.</param>
public ChromiumProcessException(string message) : base(message)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ChromiumProcessException"/> class.
/// </summary>
/// <param name="message">Message.</param>
/// <param name="innerException">Inner exception.</param>
public ChromiumProcessException(string message, Exception innerException) : base(message, innerException)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ChromiumProcessException"/> class.
/// </summary>
/// <param name="info">The serialization collection for custom serializations.</param>
/// <param name="context">Provides additional caller-provided context.</param>
protected ChromiumProcessException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}