protected static class NonClosingInputStream.ClosedInputStream extends FailingInputStream
StreamClosedException.| Modifier and Type | Field and Description |
|---|---|
protected static NonClosingInputStream.ClosedInputStream |
INSTANCE
The singleton instance.
|
| Constructor and Description |
|---|
ClosedInputStream()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
causeException()
This method is called by any method declared by
InputStream. |
available, close, mark, markSupported, read, read, read, reset, skipprotected static final NonClosingInputStream.ClosedInputStream INSTANCE
protected void causeException()
throws RuntimeException
FailingInputStreamInputStream.causeException in class FailingInputStreamRuntimeException - is the actual error.Copyright © 2001–2016 mmm-Team. All rights reserved.