class ExecutionFailureHandler {

	@VisibleForTesting
	static boolean isUnrecoverableError(Throwable cause) {
		Optional<Throwable> unrecoverableError = ThrowableClassifier.findThrowableOfThrowableType(
			cause, ThrowableType.NonRecoverableError);
		return unrecoverableError.isPresent();
	}

	public  ExecutionFailureHandler(
			final SchedulingTopology schedulingTopology,
			final FailoverStrategy failoverStrategy,
			final RestartBackoffTimeStrategy restartBackoffTimeStrategy);

}