1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.Core/Plugins/Exceptions/ArtemisPluginLockException.cs
SpoinkyNL 796c0dc671 Data model - Added data model visualization view model
Debugger - Split debugger into different tabs
Debugger - Added data model debugger
2020-06-29 00:22:16 +02:00

18 lines
579 B
C#

using System;
namespace Artemis.Core.Plugins.Exceptions
{
public class ArtemisPluginLockException : Exception
{
public ArtemisPluginLockException(Exception innerException) : base(CreateExceptionMessage(innerException), innerException)
{
}
private static string CreateExceptionMessage(Exception innerException)
{
return innerException != null
? "Found a lock file, skipping load, see inner exception for last known exception."
: "Found a lock file, skipping load.";
}
}
}