Class VariantTypeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalVariantTypeException, UnsupportedVariantTypeException

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.

See Also:
  • Constructor Details

    • VariantTypeException

      public VariantTypeException(long variantType, Object value, String msg)

      Constructor.

      Parameters:
      variantType - The variant type causing the problem
      value - The value who's variant type causes the problem
      msg - A message text describing the problem
  • Method Details

    • getVariantType

      public long getVariantType()

      Returns the offending variant type.

      Returns:
      the offending variant type.
    • getValue

      public Object getValue()

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

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