/** * Gets a transformer that always throws an exception. * This could be useful during testing as a placeholder. * * @param <I> the input type * @param <O> the output type * @return the transformer * @see ExceptionTransformer */ public static <I, O> Transformer<I, O> exceptionTransformer() { return ExceptionTransformer.exceptionTransformer(); }