Achamenes.ID3.Frames.YearTextFrame.Validate C# (CSharp) Method

Validate() protected method

protected Validate ( string value ) : void
value string
return void
        protected override void Validate(string value)
        {
            if(value.Length>4)
            {
                throw new InvalidFrameValueException(value,"Invalid value supplied for the Year frame. Maximum length is 4.");
            }
        }