daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. r = new LeakyThing();
  2. try { useResource( r); }
  3. finally { r.release(); }  // close, destroy, etc
  4.    
  5. catch ( Exception e) ...  // doesn't really catch *all*, eh?
  6.    
  7. catch ( Throwable t) ...
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