Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnsupportedVariantTypeException"/> class.
 /// </summary>
 /// <param name="variantType">The unsupported variant type</param>
 /// <param name="value">The value who's variant type is not yet supported</param>
 public UnsupportedVariantTypeException(long variantType,
                                        Object value)
     : base(variantType, value,
            "HPSF does not yet support the variant type " + variantType +
            " (" + Variant.GetVariantName(variantType) + ", " +
            HexDump.ToHex(variantType) + "). If you want support for " +
            "this variant type in one of the next POI releases please " +
            "submit a request for enhancement (RFE) To " +
            "<http://issues.apache.org/bugzilla/>! Thank you!")
 {
 }
Ejemplo n.º 2
0
 /// <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.")
 {
 }