org.apache.poi.hpsf
Class UnsupportedVariantTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.poi.hpsf.HPSFException
              extended byorg.apache.poi.hpsf.VariantTypeException
                  extended byorg.apache.poi.hpsf.UnsupportedVariantTypeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ReadingNotSupportedException, WritingNotSupportedException

public abstract class UnsupportedVariantTypeException
extends VariantTypeException

This exception is thrown if HPSF encounters a variant type that isn't supported yet. Although a variant type is unsupported the value can still be retrieved using the VariantTypeException.getValue() method.

Obviously this class should disappear some day.

Since:
2003-08-05
Version:
$Id: UnsupportedVariantTypeException.java,v 1.5 2005/01/01 07:06:18 glens Exp $
Author:
Rainer Klute <klute@rainer-klute.de>
See Also:
Serialized Form

Constructor Summary
UnsupportedVariantTypeException(long variantType, java.lang.Object value)
          Constructor.
 
Methods inherited from class org.apache.poi.hpsf.VariantTypeException
getValue, getVariantType
 
Methods inherited from class org.apache.poi.hpsf.HPSFException
getReason
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedVariantTypeException

public UnsupportedVariantTypeException(long variantType,
                                       java.lang.Object value)

Constructor.

Parameters:
variantType - The unsupported variant type
value - The value who's variant type is not yet supported


Copyright 2005 The Apache Software Foundation or its licensors, as applicable.