Either's fine with me, esp. since it's an example. Personally, I prefer more descriptive exception classes, but obviously it depends on how numerous those become if they're too detailed.