java.io.Closeable
, java.lang.AutoCloseable
public final class FailingEXTDTAInputStream
extends java.io.InputStream
Modifier and Type | Field | Description |
---|---|---|
private byte |
extdtaStatus |
The status byte used to determine which exception to throw.
|
Constructor | Description |
---|---|
FailingEXTDTAInputStream(byte extdtaStatus) |
Modifier and Type | Method | Description |
---|---|---|
int |
read() |
Throws an exception.
|
private final byte extdtaStatus
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
- The exception to throw as dictated by the status
byte sent by the client driver when reading user data and sending
it as EXTDTA.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.