class ProductionExceptionHandlerUtil {

  public static Class<?> getHandler(final boolean failOnError) {
    return failOnError
        ? LogAndFailProductionExceptionHandler.class
        : LogAndContinueProductionExceptionHandler.class;
  }

  private  ProductionExceptionHandlerUtil();

}