InvalidArgumentException

Exception thrown when passed argument is of wrong type.

Constructors

this
this(string msg, string file, size_t line, Throwable next)
this(string msg, Throwable next, string file, size_t line)
this(Throwable next, string msg, string file, size_t line)

Creates a new instance of Exception. The next parameter is used internally and should always be null when passed by user code. This constructor does not automatically throw the newly-created Exception; the throw statement should be used for that purpose.

Meta