Package org.apache.poi.hpsf
Class IllegalPropertySetDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.poi.hpsf.HPSFRuntimeException
-
- org.apache.poi.hpsf.IllegalPropertySetDataException
-
- All Implemented Interfaces:
Serializable
public class IllegalPropertySetDataException extends HPSFRuntimeException
This exception is thrown when there is an illegal value set in a
PropertySet
. For example, aVariant.VT_BOOL
must have a value of-1 (true)
or0 (false)
. Any other value would trigger this exception. It supports a nested "reason" throwable, i.e. an exception that caused this one to be thrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalPropertySetDataException()
ConstructorIllegalPropertySetDataException(String msg)
ConstructorIllegalPropertySetDataException(String msg, Throwable reason)
ConstructorIllegalPropertySetDataException(Throwable reason)
Constructor
-
Method Summary
-
Methods inherited from class org.apache.poi.hpsf.HPSFRuntimeException
getReason
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalPropertySetDataException
public IllegalPropertySetDataException()
Constructor
-
IllegalPropertySetDataException
public IllegalPropertySetDataException(String msg)
Constructor
- Parameters:
msg
- The exception's message string
-
IllegalPropertySetDataException
public IllegalPropertySetDataException(Throwable reason)
Constructor
- Parameters:
reason
- This exception's underlying reason
-
-