protected static void BarfOnBadChars( string name, string nameDescription )
{
if ( name.IndexOf( "\n" ) >= 0 )
throw new Exception( string.Format( "Carriage returns are not allowed in {0}", nameDescription ) );
else if ( name.IndexOf( "," ) >= 0 )
throw new Exception( string.Format( "Commas are not allowed in {0}", nameDescription ) );
}