Package org.apache.poi.hpsf
Class HPSFException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.poi.hpsf.HPSFException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MarkUnsupportedException
,NoPropertySetStreamException
,UnexpectedPropertySetTypeException
,VariantTypeException
This exception is the superclass of all other checked exceptions thrown in this package. It supports a nested "reason" throwable, i.e. an exception that caused this one to be thrown.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates anHPSFException
.HPSFException
(String msg) Creates anHPSFException
with a message string.HPSFException
(String msg, Throwable reason) Creates anHPSFException
with a message string and a reason.HPSFException
(Throwable reason) Creates a newHPSFException
with a reason. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HPSFException
public HPSFException()Creates an
HPSFException
. -
HPSFException
Creates an
HPSFException
with a message string.- Parameters:
msg
- The message string.
-
HPSFException
Creates a new
HPSFException
with a reason.- Parameters:
reason
- The reason, i.e. a throwable that indirectly caused this exception.
-
HPSFException
Creates an
HPSFException
with a message string and a reason.- Parameters:
msg
- The message string.reason
- The reason, i.e. a throwable that indirectly caused this exception.
-
-
Method Details