SetMemberException

Exception, to be thrown when setMemberByName fails for some given reason.

It is a normal Exception but with attached strings of the type name, name of member and the value that was attempted to set.

Constructors

this
this(string message, string file, size_t line, Throwable nextInChain)

Create a new SetMemberException, without attaching anything.

this
this(string message, string typeName, string memberToSet, string valueToSet, string file, size_t line, Throwable nextInChain)

Create a new SetMemberException, attaching extra set-member information.

Members

Variables

memberToSet
string memberToSet;

Name of the member that was attempted to set.

typeName
string typeName;

Name of type that was attempted to set the member of.

valueToSet
string valueToSet;

String representation of the value that was attempted to assign.