private boolean restartStory(Throwable cause) {
		while (cause != null) {
			if (cause instanceof RestartingStoryFailure) {
				return true;
			}
			cause = cause.getCause();
		}
		return false;
	}
private boolean restartStory ( Throwable cause ) { while ( cause != null ) { if ( cause instanceof RestartingStoryFailure ) { return true ; } cause = cause . getCause ( ) ; } return false ; }
Determines if the cause of a story failure is {@link RestartingStoryFailure}
@param cause the {@link Throwable} containing the {@link RestartingStoryFailure} in its stack trace
@return true if found, false otherwise