Advertisement
Guest User

Untitled

a guest
May 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. // a
  2. try {...}
  3. catch(Exception e)
  4. {
  5. //Logging
  6. throw new Exception("Message.", e);
  7. }
  8.  
  9. // b
  10. try {...}
  11. catch(Exception e)
  12. {
  13. //Logging
  14. throw e;
  15. }
  16.  
  17. // c
  18. try {...}
  19. catch(Exception e)
  20. {
  21. //Logging
  22. throw;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement