You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
494 B

using System;
using System.Collections.Generic;
namespace ProtoCSStruct
{
public class ProtoParseException : Exception
{
public ProtoParseException(string message)
: base (message)
{
}
}
public static class ExceptionUtils
{
public static void Throw(string format, params object[] argv)
{
string message = string.Format(format, argv);
throw new ProtoParseException(message);
}
}
}