

using System;

namespace BallotTemplates
{
    
    
    
    
    [Serializable]
    public class TemplateVersionException : Exception
    {
        
        
        
        public TemplateVersionException(string templateVersion, string maxSupportedVersion) : base(
            $"The supplied template was created a version not compatible with this version of OMR Mark Engine. The maximum version this engine supports is {maxSupportedVersion}, the template version is {templateVersion}")
        {
        }
    }
}
