ughhhhhhhhhhhhhhhhh

This commit is contained in:
Mino 2020-04-09 02:25:25 +09:00
parent 380c8732c6
commit 4042d138b2
11 changed files with 321 additions and 301 deletions

View file

@ -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);
}
}
}