xxxxxxxxxx
class MyException : Exception
{
pure string annotation() {
return "";
}
pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable nextInChain = null)
{
super(msg ~ " " ~ this.annotation, file, line, nextInChain);
}
pure nothrow this(string msg, Throwable nextInChain, string file = __FILE__, size_t line = __LINE__)
{
super(msg, file, line, nextInChain);
}
}
void main() {
}