diff --git a/std/string.d b/std/string.d index bf73f4f6d..b2c7e710a 100644 --- a/std/string.d +++ b/std/string.d @@ -209,20 +209,10 @@ public import std.array : join, replace, replaceInPlace, split, empty; +/ class StringException : Exception { - /++ - Params: - msg = The message for the exception. - file = The file where the exception occurred. - line = The line number where the exception occurred. - next = The previous exception in the chain of exceptions, if any. - +/ - this(string msg, - string file = __FILE__, - size_t line = __LINE__, - Throwable next = null) @safe pure nothrow - { - super(msg, file, line, next); - } + import std.exception : basicExceptionCtors; + + /// + mixin basicExceptionCtors; }