Add BindingsNotRewrittenException

This commit is contained in:
Fraser Waters 2017-08-28 17:09:18 +01:00
parent a498da9448
commit 51a7f0abdb

View file

@ -47,4 +47,15 @@ namespace OpenTK
/// </summary>
public override string Message { get; }
}
/// <summary>
/// This exception is thown when a binding method is called and the bindings have not been rewritten by Rewrite.exe.
/// </summary>
public class BindingsNotRewrittenException : Exception
{
/// <summary>
/// Constructs a new BindingsNotRewrittenException instance.
/// </summary>
public BindingsNotRewrittenException() : base("Rewrite.exe has not been run.") { }
}
}