<%@ Page Language="C#" %> <% // Two values setting the start locations for warning hints on the gauge scale. // These could be configured from user preferences. int warnLow = 25; int warnHigh = 180; int value = 125; // Error handling / range assertions. if (warnLow > warnHigh) throw new ArgumentException("The low range must be less than the high range."); else if (warnHigh < 0 || warnLow < 0 || value < 0 || warnHigh > 300 || warnLow > 300 || value > 300) throw new ArgumentException("Values must be between 0 - 300."); %>