Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. try {
  2.     if(args.length != 1) {
  3.         throw new someexception();
  4.     }
  5.     else if(somethingelsewrong) {
  6.         throw new someotherexception();
  7.     }
  8. }
  9. catch(someexception e) {
  10.     S.O.P('you fucked up')
  11. }
  12. catch(someotherexception e) {
  13.     S.O.P('you fucked up')
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement