mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-09 01:14:36 +01:00
ughhhhhhhhhhhhhhhhh
This commit is contained in:
parent
380c8732c6
commit
4042d138b2
11 changed files with 321 additions and 301 deletions
|
|
@ -1,23 +0,0 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Dalamud.Bootstrap.Windows
|
||||
{
|
||||
/// <summary>
|
||||
/// An exception that is thrown when there was an error while interacting with the process.
|
||||
/// </summary>
|
||||
internal sealed class ProcessException : Exception
|
||||
{
|
||||
internal ProcessException() : base() { }
|
||||
|
||||
internal ProcessException(string message) : base(message) { }
|
||||
|
||||
internal ProcessException(string message, Exception innerException) : base(message, innerException) { }
|
||||
|
||||
internal static void ThrowLastOsError(string message)
|
||||
{
|
||||
var inner = new Win32Exception();
|
||||
throw new ProcessException(message, inner);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue