title: Intercept an exception being caught
body: <p>Too much caffeine led to this. Yeah, you can actually catch it, but jokes aside.</p>
  
  <pre><code>public class GreasedUpDeafGuy extends RuntimeException {
  
      public GreasedUpDeafGuy() {
          super("You Can't Catch Me!");
      }
  
      @Override
      public void printStackTrace() {
          throw this;
      }
  }
  </code></pre>
  
  <p>Purely as a thought experiment, is there some way to hook in to the 'catch' ?</p>
  
  <pre><code>try {
      throw new GreasedUpDeafGuy(); // This line itself is creepy
  }
  catch(GreasedUpDeafGuy e) {} // &lt;-- How could one hook in to this call? 
  </code></pre>
  
  <p>such that a devious developer could keep throwing this exception on? A friend suggested that the stack building could be the place to intercept but we can't figure out how. One assumes that Java protects itself against such idiocy, but I aim to be the biggest idiot I can be.</p>
  
  <p>I'm not suggesting that the Exception class itself can do this. None of the methods in the exception are called when 'catch' is invoked. </p>
  
  <p>We have to go deeper.</p>