java.io.Serializable
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.
Constructor | Description |
---|---|
VariantTypeException(long variantType,
java.lang.Object value,
java.lang.String msg) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getValue() |
Returns the value who's variant type caused the problem.
|
long |
getVariantType() |
Returns the offending variant type.
|
getReason
public VariantTypeException(long variantType, java.lang.Object value, java.lang.String msg)
Constructor.
variantType
- The variant type causing the problemvalue
- The value who's variant type causes the problemmsg
- A message text describing the problemCopyright 2018 The Apache Software Foundation or its licensors, as applicable.