/// <summary> /// Initializes a new instance of the <see cref="IllegalVariantTypeException"/> class. /// </summary> /// <param name="variantType">The unsupported variant type</param> /// <param name="value">The value.</param> public IllegalVariantTypeException(long variantType, Object value) : this(variantType, value, "The variant type " + variantType + " (" + Variant.GetVariantName(variantType) + ", " + HexDump.ToHex(variantType) + ") is illegal in this context.") { }