Package org.docx4j.org.apache.poi.hpsf
Class UnexpectedPropertySetTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.docx4j.org.apache.poi.hpsf.HPSFException
org.docx4j.org.apache.poi.hpsf.UnexpectedPropertySetTypeException
- All Implemented Interfaces:
java.io.Serializable
public class UnexpectedPropertySetTypeException extends HPSFException
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.
- Author:
- Rainer Klute <klute@rainer-klute.de>
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description UnexpectedPropertySetTypeException()Creates anUnexpectedPropertySetTypeException.UnexpectedPropertySetTypeException(java.lang.String msg)Creates anUnexpectedPropertySetTypeExceptionwith a message string.UnexpectedPropertySetTypeException(java.lang.String msg, java.lang.Throwable reason)Creates anUnexpectedPropertySetTypeExceptionwith a message string and a reason.UnexpectedPropertySetTypeException(java.lang.Throwable reason)Creates a newUnexpectedPropertySetTypeExceptionwith a reason. -
Method Summary
Methods inherited from class org.docx4j.org.apache.poi.hpsf.HPSFException
getReasonMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
UnexpectedPropertySetTypeException
public UnexpectedPropertySetTypeException()Creates an
UnexpectedPropertySetTypeException. -
UnexpectedPropertySetTypeException
public UnexpectedPropertySetTypeException(java.lang.String msg)Creates an
UnexpectedPropertySetTypeExceptionwith a message string.- Parameters:
msg- The message string.
-
UnexpectedPropertySetTypeException
public UnexpectedPropertySetTypeException(java.lang.Throwable reason)Creates a new
UnexpectedPropertySetTypeExceptionwith a reason.- Parameters:
reason- The reason, i.e. a throwable that indirectly caused this exception.
-
UnexpectedPropertySetTypeException
public UnexpectedPropertySetTypeException(java.lang.String msg, java.lang.Throwable reason)Creates an
UnexpectedPropertySetTypeExceptionwith a message string and a reason.- Parameters:
msg- The message string.reason- The reason, i.e. a throwable that indirectly caused this exception.
-