Searched refs:throwIf (Results 1 – 4 of 4) sorted by relevance
44 throwIf(OPEN_THROWS); in TestInputStream()53 throwIf(closed); in read()54 throwIf(READ_THROWS); in read()60 throwIf(closed); in read()61 throwIf(READ_THROWS); in read()67 throwIf(closed); in skip()68 throwIf(SKIP_THROWS); in skip()74 throwIf(closed); in available()81 throwIf(CLOSE_THROWS); in close()85 private void throwIf(TestOption option) throws IOException { in throwIf() method in TestInputStream[all …]
43 throwIf(OPEN_THROWS); in TestOutputStream()52 throwIf(closed); in write()53 throwIf(WRITE_THROWS); in write()59 throwIf(closed); in write()60 throwIf(WRITE_THROWS); in write()68 throwIf(CLOSE_THROWS); in close()71 private void throwIf(TestOption option) throws IOException { in throwIf() method in TestOutputStream72 throwIf(options.contains(option)); in throwIf()75 private static void throwIf(boolean condition) throws IOException { in throwIf() method in TestOutputStream