src/main/java/pityoulish/outtake/Missing.java
public static <X extends Exception> void pretend(Class<X> what)
    throws X
  {
    // do nothing
  }
/**
   * Does nothing, but lets the compiler think an exception might be thrown.
   * Needed if a <code>catch</code> block handles an exception, but the code
   * that throws it is taken out for an exercise.
   *
   * @param what        the class of the exception that might be thrown
   * @param <X>         the class of the exception that might be thrown
   *
   * @throws X          never, just pretends to
   */
Does nothing, but lets the compiler think an exception might be thrown.
Needed if a catch block handles an exception, but the code
that throws it is taken out for an exercise.

@param what        the class of the exception that might be thrown
@param          the class of the exception that might be thrown

@throws X          never, just pretends to
Does nothing but lets the compiler think an exception might be thrown . Needed if a catch block handles an exception but the code that throws it is taken out for an exercise . @param what the class of the exception that might be thrown @param the class of the exception that might be thrown @throws X never just pretends to
public static <X extends Exception> void pretend(Class<X> what)
    throws X
  {
  }
public static < X extends Exception > void pretend ( Class < X > what ) throws X { }
Does nothing, but lets the compiler think an exception might be thrown.
Does nothing but lets the compiler think an exception might be thrown .
// do nothing