All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.casualsuperman.portent.exceptions.FailedToMoveTemplateResultsException Maven / Gradle / Ivy

There is a newer version: 0.3.1
Show newest version
package com.casualsuperman.portent.exceptions;

import com.casualsuperman.portent.Artifact;
import lombok.Getter;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

@Getter
@SuppressWarnings("squid:S1948")
public class FailedToMoveTemplateResultsException extends EnvironmentException {
	private final Map failures;

	public FailedToMoveTemplateResultsException(Map failures) {
		super("failed to move results to their target location", failures.values().iterator().next());
		this.failures = Collections.unmodifiableMap(new HashMap<>(failures));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy