SHARE
TWEET

Untitled

a guest Apr 21st, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. try {
  2. // block of code to monitor for errors
  3. // the code you think can raise an exception
  4. }
  5. catch (ExceptionType1 exOb) {
  6. // exception handler for ExceptionType1
  7. }
  8. catch (ExceptionType2 exOb) {
  9. // exception handler for ExceptionType2
  10. }
  11. // optional
  12. finally {
  13. // block of code to be executed after try block ends
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top