Cleaner way of creating `HTTPException` subclasses.
Authored by: cmlenz 2007-08-15
Parent: [r5925]
Child: [r5927]