public static TerribleFailureHandler setWtfHandler ( TerribleFailureHandler handler ) { if ( handler == null ) { throw new NullPointerException ( "handler == null" ) ; } TerribleFailureHandler oldHandler = sWtfHandler ; sWtfHandler = handler ; return oldHandler ; }
Sets the terrible failure handler for testing .