qadev40: #161119# catch IllegalArgumentException

This commit is contained in:
Lars Langhans 2010-02-09 11:20:59 +01:00
parent 89b08af633
commit bd4413269e

View file

@ -96,9 +96,8 @@ public class _XOutputStream extends MultiMethodTest {
XInputStream xInStream = checker.getInStream();
byte[][] readData = new byte[1][data.length];
int iReadBytes = 0;
try {
iReadBytes = xInStream.readBytes(readData, data.length);
xInStream.readBytes(readData, data.length);
} catch(com.sun.star.io.IOException e) {
log.println("Couldn't read data:" + e);
res = false;