Should only BootstrapException be exposed?

This commit is contained in:
Mino 2020-03-28 18:05:36 +09:00
parent 666f7df738
commit 6f6792f27e
5 changed files with 6 additions and 6 deletions

View file

@ -4,9 +4,9 @@ using System.ComponentModel;
namespace Dalamud.Bootstrap
{
/// <summary>
/// An error that is thrown when bootstraping Dalamud failed.
/// An error that is thrown when there was a problem with bootstraping.
/// </summary>
public class BootstrapException : Exception
public sealed class BootstrapException : Exception
{
internal BootstrapException() : base() { }

View file

@ -8,7 +8,7 @@ using Dalamud.Bootstrap.SqexArg;
namespace Dalamud.Bootstrap
{
public class Bootstrapper
public sealed class Bootstrapper
{
private readonly BootstrapperOptions m_options;

View file

@ -3,7 +3,7 @@ using System.IO;
namespace Dalamud.Bootstrap
{
public class BootstrapperOptions
public sealed class BootstrapperOptions
{
public static BootstrapperOptions Default => new BootstrapperOptions
{

View file

@ -2,7 +2,7 @@ using System;
namespace Dalamud.Bootstrap.SqexArg
{
public class SqexArgException : Exception
internal sealed class SqexArgException : Exception
{
public SqexArgException() { }
public SqexArgException(string message) : base(message) { }

View file

@ -6,7 +6,7 @@ namespace Dalamud.Bootstrap.Windows
/// <summary>
/// An exception that is thrown when there was an error while interacting with the process.
/// </summary>
public class ProcessException : Exception
internal sealed class ProcessException : Exception
{
public uint Pid { get; }