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.
| Access | Constructor and Description |
|---|---|
| public | |
| public | HSSFUserException(final String
the error message msg)Creates a new |
| public | HSSFUserException(final Throwable
the causing exception reason)Creates a new |
| public | HSSFUserException(final String
the error message msg, final Throwable the causing exception reason)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable |
| reason | back to summary |
|---|---|
| private Throwable reason | |
| HSSFUserException | back to summary |
|---|---|
| public HSSFUserException() Creates a new | |
| HSSFUserException | back to summary |
|---|---|
| public HSSFUserException(final String msg) Creates a new
| |
| HSSFUserException | back to summary |
|---|---|
| public HSSFUserException(final Throwable reason) Creates a new
| |
| HSSFUserException | back to summary |
|---|---|
| public HSSFUserException(final String msg, final Throwable reason) Creates a new | |
| getReason | back to summary |
|---|---|
| public Throwable getReason() Returns the
| |