Package io.github.erdos.stencil.impl
Class InputStreamExceptionPropagation
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- io.github.erdos.stencil.impl.InputStreamExceptionPropagation
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public final class InputStreamExceptionPropagation extends java.io.FilterInputStream
-
-
Constructor Summary
Constructors Constructor Description InputStreamExceptionPropagation(java.io.InputStream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
fail(java.lang.Throwable e)
void
finish()
-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
-
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.FilterInputStream
- Throws:
java.io.IOException
-
fail
public void fail(java.lang.Throwable e)
-
finish
public void finish()
-
-