D-Programming-Language/phobos — pull request #439 by carlor (2012-02-19 00:38:55+00:00)
Title: added the std.exception.Descendant template

`mixin(std.exception.Descendant!("SampleException"))` creates a subclass of `Exception`, producing this code:

class SampleException : Exception {
this(string m = "", string f = __FILE__, size_t l = __LINE__, Throwable t = null) {
super(m, f, l, t);
}
}