Class UnsupportedVariantTypeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.docx4j.org.apache.poi.hpsf.HPSFException
org.docx4j.org.apache.poi.hpsf.VariantTypeException
org.docx4j.org.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.

Author:
Rainer Klute <klute@rainer-klute.de>
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    UnsupportedVariantTypeException​(long variantType, java.lang.Object value)
    Constructor.
  • Method Summary

    Methods inherited from class org.docx4j.org.apache.poi.hpsf.VariantTypeException

    getValue, getVariantType

    Methods inherited from class org.docx4j.org.apache.poi.hpsf.HPSFException

    getReason

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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