Advertisement
Guest User

Untitled

a guest
Apr 4th, 2020
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.49 KB | None | 0 0
  1. if(strE.contains("Julius Caesar (c. July 12 or 13, 100 BC") && strE.contains("Source:https://")){
  2.             throw new ArrayIndexOutOfBoundsException();
  3.         }
  4.         // if(strE.contains("Julius Caesar") && strE.contains("Source:https://")){
  5.         //     throw new IllegalArgumentException();
  6.         // }
  7.         // if(strE.contains("s") && strE.contains("u") && strE.contains("m") && strE.contains("a") && strE.contains("n")    ){
  8.         //      throw new IllegalArgumentException();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement