summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/IncompatibleInstructionException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Framework/IncompatibleInstructionException.cs')
-rw-r--r--src/StardewModdingAPI/Framework/IncompatibleInstructionException.cs27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/StardewModdingAPI/Framework/IncompatibleInstructionException.cs b/src/StardewModdingAPI/Framework/IncompatibleInstructionException.cs
deleted file mode 100644
index affe2cb3..00000000
--- a/src/StardewModdingAPI/Framework/IncompatibleInstructionException.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-
-namespace StardewModdingAPI.Framework
-{
- /// <summary>An exception raised when an incompatible instruction is found while loading a mod assembly.</summary>
- internal class IncompatibleInstructionException : Exception
- {
- /*********
- ** Accessors
- *********/
- /// <summary>A brief noun phrase which describes the incompatible instruction that was found.</summary>
- public string NounPhrase { get; }
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Construct an instance.</summary>
- /// <param name="nounPhrase">A brief noun phrase which describes the incompatible instruction that was found.</param>
- /// <param name="message">A message which describes the error.</param>
- public IncompatibleInstructionException(string nounPhrase, string message)
- : base(message)
- {
- this.NounPhrase = nounPhrase;
- }
- }
-}