Package org.apache.poi.hpsf
Class UnexpectedPropertySetTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.poi.hpsf.HPSFException
org.apache.poi.hpsf.UnexpectedPropertySetTypeException
- All Implemented Interfaces:
Serializable
This exception is thrown if a certain type of property set is expected (e.g. a Document Summary Information) but the provided property set is not of that type.
The constructors of this class are analogous to those of its superclass and documented there.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates anUnexpectedPropertySetTypeException
.Creates anUnexpectedPropertySetTypeException
with a message string.UnexpectedPropertySetTypeException
(String msg, Throwable reason) Creates anUnexpectedPropertySetTypeException
with a message string and a reason.Creates a newUnexpectedPropertySetTypeException
with a reason. -
Method Summary
Methods inherited from class 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
-
Constructor Details
-
UnexpectedPropertySetTypeException
public UnexpectedPropertySetTypeException()Creates an
UnexpectedPropertySetTypeException
. -
UnexpectedPropertySetTypeException
Creates an
UnexpectedPropertySetTypeException
with a message string.- Parameters:
msg
- The message string.
-
UnexpectedPropertySetTypeException
Creates a new
UnexpectedPropertySetTypeException
with a reason.- Parameters:
reason
- The reason, i.e. a throwable that indirectly caused this exception.
-
UnexpectedPropertySetTypeException
Creates an
UnexpectedPropertySetTypeException
with a message string and a reason.- Parameters:
msg
- The message string.reason
- The reason, i.e. a throwable that indirectly caused this exception.
-