I'm really getting into CodeSmith
now. We create new exception classes derived from ApplicationException
, and I needed to write one today. Someone else in the team had already written one, so I used that as the basis for the template. I also incorporated our corporate standard code header comment macro, which cunningly plucks the logged in user's name out of the air like a ripe cherry.