public class HSSFUserException extends Exception
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.
| Constructor and Description | 
|---|
HSSFUserException()
Creates a new  
HSSFUserException. | 
HSSFUserException(String msg)
Creates a new  
HSSFUserException with a message
 string. | 
HSSFUserException(String msg,
                 Throwable reason)
Creates a new  
HSSFUserException with a message string
 and a reason. | 
HSSFUserException(Throwable reason)
Creates a new  
HSSFUserException with a reason. | 
| Modifier and Type | Method and Description | 
|---|---|
Throwable | 
getReason()
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HSSFUserException()
Creates a new HSSFUserException.
public HSSFUserException(String msg)
Creates a new HSSFUserException with a message
 string.
public HSSFUserException(Throwable reason)
Creates a new HSSFUserException with a reason.
public HSSFUserException(String msg, Throwable reason)
Creates a new HSSFUserException with a message string
 and a reason.
public Throwable getReason()
Copyright © 2020. All rights reserved.