qadev40: #161119# catch IllegalArgumentException
This commit is contained in:
parent
89b08af633
commit
bd4413269e
1 changed files with 1 additions and 2 deletions
|
@ -96,9 +96,8 @@ public class _XOutputStream extends MultiMethodTest {
|
||||||
|
|
||||||
XInputStream xInStream = checker.getInStream();
|
XInputStream xInStream = checker.getInStream();
|
||||||
byte[][] readData = new byte[1][data.length];
|
byte[][] readData = new byte[1][data.length];
|
||||||
int iReadBytes = 0;
|
|
||||||
try {
|
try {
|
||||||
iReadBytes = xInStream.readBytes(readData, data.length);
|
xInStream.readBytes(readData, data.length);
|
||||||
} catch(com.sun.star.io.IOException e) {
|
} catch(com.sun.star.io.IOException e) {
|
||||||
log.println("Couldn't read data:" + e);
|
log.println("Couldn't read data:" + e);
|
||||||
res = false;
|
res = false;
|
||||||
|
|
Loading…
Reference in a new issue