< prev index next >
test/javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java
Print this page
*** 95,105 ****
e.printStackTrace();
}
System.err.println("af = " + af);
System.err.println("bufferSize = " + bufferSize);
throw new RuntimeException("Expected exception is not thrown");
! } catch (final LineUnavailableException ignored) {
// the test is not applicable
}
}
}
}
--- 95,106 ----
e.printStackTrace();
}
System.err.println("af = " + af);
System.err.println("bufferSize = " + bufferSize);
throw new RuntimeException("Expected exception is not thrown");
! } catch (IllegalArgumentException
! | LineUnavailableException ignored) {
// the test is not applicable
}
}
}
}
< prev index next >