Package loci.poi.hssf.eventusermodel
Class HSSFUserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
loci.poi.hssf.eventusermodel.HSSFUserException
- All Implemented Interfaces:
Serializable
This exception is provided as a way for API users to throw exceptions from their event handling code. By doing so they abort file processing by the HSSFEventFactory and by catching it from outside the HSSFEventFactory.processEvents method they can diagnose the cause for the abort.
The HSSFUserException supports a nested "reason" throwable, i.e. an exception that caused this one to be thrown.
The HSSF package does not itself throw any of these exceptions.
- Since:
- 2002-04-19
- Version:
- HSSFUserException.java,v 1.0
- Author:
- Rainer Klute (klute@rainer-klute.de), Carey Sublette (careysub@earthling.net)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newHSSFUserException.HSSFUserException(String msg) Creates a newHSSFUserExceptionwith a message string.HSSFUserException(String msg, Throwable reason) Creates a newHSSFUserExceptionwith a message string and a reason.HSSFUserException(Throwable reason) Creates a newHSSFUserExceptionwith 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
-
HSSFUserException
public HSSFUserException()Creates a new
HSSFUserException. -
HSSFUserException
Creates a new
HSSFUserExceptionwith a message string. -
HSSFUserException
Creates a new
HSSFUserExceptionwith a reason. -
HSSFUserException
Creates a new
HSSFUserExceptionwith a message string and a reason.
-
-
Method Details
-
getReason
-