protected override void Validate(string value) { int r; if(!int.TryParse(value,out r) || r<=0) { throw new InvalidFrameValueException(value, "Invalid value for Beats Per Minute frame. Should be numeric and positive."); } }