FileDocCategorySizeDatePackage
IllegalVariantTypeException.javaAPI DocApache Poi 3.0.12262Mon Jan 01 12:39:34 GMT 2007org.apache.poi.hpsf

IllegalVariantTypeException

public class IllegalVariantTypeException extends VariantTypeException

This exception is thrown if HPSF encounters a variant type that is illegal in the current context.

author
Rainer Klute <klute@rainer-klute.de>
since
2004-06-21
version
$Id: IllegalVariantTypeException.java 489730 2006-12-22 19:18:16Z bayard $

Fields Summary
Constructors Summary
public IllegalVariantTypeException(long variantType, Object value, String msg)

Constructor

param
variantType The unsupported variant type
param
value The value
param
msg A message string

        super(variantType, value, msg);
    
public IllegalVariantTypeException(long variantType, Object value)

Constructor

param
variantType The unsupported variant type
param
value The value

        this(variantType, value, "The variant type " + variantType + " (" +
             Variant.getVariantName(variantType) + ", " + 
             HexDump.toHex(variantType) + ") is illegal in this context.");
    
Methods Summary