__construct() __construct(string $fieldname, string $source = null) Constructor Parameters string $fieldname The name of the missing field. string $source The source of the exception, optional. Default value is null.