Package loci.poi.hpsf
Class HPSFRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
loci.poi.hpsf.HPSFRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalPropertySetDataException,MissingSectionException,NoFormatIDException,NoSingleSectionException
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.
- Since:
- 2002-02-09
- Version:
- $Id: HPSFRuntimeException.java 489730 2006-12-22 19:18:16Z bayard $
- Author:
- Rainer Klute <klute@rainer-klute.de>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newHPSFRuntimeException.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
Modifier and TypeMethodDescriptionvoidvoidvoidMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
HPSFRuntimeException
public HPSFRuntimeException()Creates a new
HPSFRuntimeException. -
HPSFRuntimeException
Creates a new
HPSFRuntimeExceptionwith a message string.- Parameters:
msg- The message string.
-
HPSFRuntimeException
Creates a new
HPSFRuntimeExceptionwith a reason.- Parameters:
reason- The reason, i.e. a throwable that indirectly caused this exception.
-
HPSFRuntimeException
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.
-
-
Method Details
-
getReason
Returns the
Throwablethat caused this exception to be thrown ornullif there was no suchThrowable.- Returns:
- The reason
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTracein classThrowable- See Also:
-
printStackTrace
- Overrides:
printStackTracein classThrowable- See Also:
-
printStackTrace
- Overrides:
printStackTracein classThrowable- See Also:
-