@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public class IOExceptionOutputStream extends DecoratingOutputStream
IOException
in a protected field for later use.| Modifier and Type | Field and Description |
|---|---|
protected IOException |
exception
The nullable last I/O exception.
|
delegate| Modifier | Constructor and Description |
|---|---|
protected |
IOExceptionOutputStream(OutputStream out)
Constructs a new I/O exception output stream.
|
@CheckForNull protected IOException exception
protected IOExceptionOutputStream(@Nullable OutputStream out)
out - the nullable output stream to decorate.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DecoratingOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class DecoratingOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class DecoratingOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class DecoratingOutputStreamIOExceptionCopyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.