|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
org.apache.derby.impl.drda.FailingEXTDTAInputStream
public final class FailingEXTDTAInputStream
A stream class that throws an exception on the first read request.
| Field Summary | |
|---|---|
private byte |
extdtaStatus
The status byte used to determine which exception to throw. |
| Constructor Summary | |
|---|---|
FailingEXTDTAInputStream(byte extdtaStatus)
|
|
| Method Summary | |
|---|---|
int |
read()
Throws an exception. |
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final byte extdtaStatus
| Constructor Detail |
|---|
public FailingEXTDTAInputStream(byte extdtaStatus)
| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.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.
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||