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:
NoPropertySetStreamException
,UnexpectedPropertySetTypeException
,VariantTypeException
public class HPSFException extends Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HPSFException()
Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getReason()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HPSFException
public HPSFException()
Creates an
HPSFException
.
-
HPSFException
public HPSFException(String msg)
Creates an
HPSFException
with a message string.- Parameters:
msg
- The message string.
-
HPSFException
public HPSFException(Throwable reason)
Creates a new
HPSFException
with a reason.- Parameters:
reason
- The reason, i.e. a throwable that indirectly caused this exception.
-
HPSFException
public HPSFException(String msg, Throwable reason)
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.
-
-