InvalidCastException.this

Creates a new instance of Exception. The nextInChain 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.

  1. this(string msg, string identity, TypeInfo expected, TypeInfo actual, string file, size_t line, Throwable next)
    class InvalidCastException
    pure nothrow
    this
    (
    string msg
    ,
    string identity
    ,
    TypeInfo expected
    ,
    TypeInfo actual
    ,
    string file = __FILE__
    ,
    size_t line = __LINE__
    ,
    Throwable next = null
    )
  2. this(string msg, string identity, TypeInfo expected, TypeInfo actual, Throwable next, string file, size_t line)

Meta