Skip to content

Commit

Permalink
Minor error tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Forshaw committed May 16, 2017
1 parent 4ebd906 commit 162da66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion DotNetToJScript/VBAGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ public string GenerateScript(byte[] serialized_object, string entry_class_name,
{
if (version != RuntimeVersion.None)
{
throw new ArgumentException("VBA output does not support version detection");
throw new ArgumentException("VBA generator does not support version detection");
}

if (enable_debug)
{
throw new ArgumentException("VBA generator does not support debug output");
}

string hex_encoded = BitConverter.ToString(serialized_object).Replace("-", "");
Expand Down

0 comments on commit 162da66

Please sign in to comment.