code: public static TerribleFailureHandler setWtfHandler(TerribleFailureHandler handler) {
          if (handler == null) {
              throw new NullPointerException("handler == null");
          }
          TerribleFailureHandler oldHandler = sWtfHandler;
          sWtfHandler = handler;
          return oldHandler;
      }
docs: Sets the terrible failure handler, for testing.
  
  @return the old handler
  
  @hide