/** * <p>Constructor</p> * * @param variantType The unsupported variant type * @param value The value */ public IllegalVariantTypeException(final long variantType, final Object value) { this(variantType, value, "The variant type " + variantType + " (" + Variant.getVariantName(variantType) + ", " + HexDump.toHex(variantType) + ") is illegal in this context."); }
/** * <p>Constructor.</p> * * @param variantType The unsupported variant type * @param value The value who's variant type is not yet supported */ public UnsupportedVariantTypeException(final long variantType, final Object value) { super(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!"); }
private String getVariantName() { if (getID() == 0) { return "dictionary"; } return Variant.getVariantName(getType()); }
/** * <p>Constructor</p> * * @param variantType The unsupported variant type * @param value The value */ public IllegalVariantTypeException(final long variantType, final Object value) { this(variantType, value, "The variant type " + variantType + " (" + Variant.getVariantName(variantType) + ", " + HexDump.toHex(variantType) + ") is illegal in this context."); }
/** * <p>Constructor</p> * * @param variantType The unsupported variant type * @param value The value */ public IllegalVariantTypeException(final long variantType, final Object value) { this(variantType, value, "The variant type " + variantType + " (" + Variant.getVariantName(variantType) + ", " + HexDump.toHex(variantType) + ") is illegal in this context."); }
/** * <p>Constructor</p> * * @param variantType The unsupported variant type * @param value The value */ public IllegalVariantTypeException(final long variantType, final Object value) { this(variantType, value, "The variant type " + variantType + " (" + Variant.getVariantName(variantType) + ", " + HexDump.toHex(variantType) + ") is illegal in this context."); }
/** * <p>Constructor.</p> * * @param variantType The unsupported variant type * @param value The value who's variant type is not yet supported */ public UnsupportedVariantTypeException(final long variantType, final Object value) { super(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!"); }
/** * <p>Constructor.</p> * * @param variantType The unsupported variant type * @param value The value who's variant type is not yet supported */ public UnsupportedVariantTypeException(final long variantType, final Object value) { super(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!"); }
/** * <p>Constructor.</p> * * @param variantType The unsupported variant type * @param value The value who's variant type is not yet supported */ public UnsupportedVariantTypeException(final long variantType, final Object value) { super(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!"); }
private String getVariantName() { if (getID() == 0) { return "dictionary"; } return Variant.getVariantName(getType()); }