Package org.apache.poi.hpsf
Class HPSFRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.poi.hpsf.HPSFRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalPropertySetDataException,MissingSectionException,NoFormatIDException,NoSingleSectionException
public class HPSFRuntimeException extends RuntimeException
This exception is the superclass of all other unchecked 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 HPSFRuntimeException()Creates a newHPSFRuntimeException.HPSFRuntimeException(String msg)Creates a newHPSFRuntimeExceptionwith a message string.HPSFRuntimeException(String msg, Throwable reason)Creates a newHPSFRuntimeExceptionwith a message string and a reason.HPSFRuntimeException(Throwable reason)Creates a newHPSFRuntimeExceptionwith a reason.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetReason()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HPSFRuntimeException
public HPSFRuntimeException()
Creates a new
HPSFRuntimeException.
-
HPSFRuntimeException
public HPSFRuntimeException(String msg)
Creates a new
HPSFRuntimeExceptionwith a message string.- Parameters:
msg- The message string.
-
HPSFRuntimeException
public HPSFRuntimeException(Throwable reason)
Creates a new
HPSFRuntimeExceptionwith a reason.- Parameters:
reason- The reason, i.e. a throwable that indirectly caused this exception.
-
HPSFRuntimeException
public HPSFRuntimeException(String msg, Throwable reason)
Creates a new
HPSFRuntimeExceptionwith a message string and a reason.- Parameters:
msg- The message string.reason- The reason, i.e. a throwable that indirectly caused this exception.
-
-