Minor error tweaks.

This commit is contained in:
James Forshaw
2017-05-16 14:18:30 +01:00
parent 4ebd90608f
commit 162da66cbc
+6 -1
View File
@@ -42,7 +42,12 @@ namespace DotNetToJScript
{
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("-", "");