IOException) on reading and writing content using JDK streams
and other sources and targets.
This exception is only used for wrapping java.io.IOException s
for re-throwing: for actual problem reporting there are alternate
JacksonException subtypes available.Note
use of java. would seem like
an alternative, but cannot be used as it is a checked exception
unlike JacksonException used for other read/write problems.
Because of this, an alternative is used.
Additionally extending JacksonException allows bit more convenient
catching of everything Jackson throws or re-throws.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static JacksonIOException | |
| public static JacksonIOException | |
| public IOException | getCause()
Overrides java. Returns the cause of this throwable or |
| public JacksonIOException |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| JacksonIOException | back to summary |
|---|---|
| protected JacksonIOException(Closeable processor, IOException source) | |
| construct | back to summary |
|---|---|
| public static JacksonIOException construct(IOException e) | |
| construct | back to summary |
|---|---|
| public static JacksonIOException construct(IOException e, Closeable processor) | |
| getCause | back to summary |
|---|---|
| public IOException getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a
| |
| withProcessor | back to summary |
|---|---|
| public JacksonIOException withProcessor(Closeable processor) | |