elvyssoares

Exception Handling - Original

Dec 9th, 2021
755
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. @Test
  2. public void test4() throws Exception {
  3.   try {
  4.     xb.closeTag("abcd");
  5.     fail();
  6.   } catch (IllegalArgumentException e) {
  7.     // do nothing
  8.   }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment