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

VariantTypeException

public abstract class VariantTypeException extends HPSFException

This exception is thrown if HPSF encounters a problem with a variant type. Concrete subclasses specifiy the problem further.

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

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

Constructor.

param
variantType The variant type causing the problem
param
value The value who's variant type causes the problem
param
msg A message text describing the problem

        super(msg);
        this.variantType = variantType;
        this.value = value;
    
Methods Summary
public java.lang.ObjectgetValue()

Returns the value who's variant type caused the problem.

return
the value who's variant type caused the problem

        return value;
    
public longgetVariantType()

Returns the offending variant type.

return
the offending variant type.

        return variantType;