1 module collections.commons; 2 3 public class ElementNotFoundException : Exception { 4 @nogc @safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable nextInChain = null) 5 { 6 super(msg, file, line, nextInChain); 7 } 8 9 @nogc @safe pure nothrow this(string msg, Throwable nextInChain, string file = __FILE__, size_t line = __LINE__) 10 { 11 super(msg, file, line, nextInChain); 12 } 13 } 14 ///Thrown if incorrect arguments are passed to a function 15 public class IncorrectArgumentsException : Exception { 16 @nogc @safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable nextInChain = null) 17 { 18 super(msg, file, line, nextInChain); 19 } 20 21 @nogc @safe pure nothrow this(string msg, Throwable nextInChain, string file = __FILE__, size_t line = __LINE__) 22 { 23 super(msg, file, line, nextInChain); 24 } 25 }