io.polyapi.plugin.error.deploy.DeploymentWrapperException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polyapi-maven-plugin Show documentation
Show all versions of polyapi-maven-plugin Show documentation
Maven plugin to run handle Poly API functions.
package io.polyapi.plugin.error.deploy;
import io.polyapi.plugin.error.PolyApiMavenPluginException;
import java.util.Collection;
/**
* Exception that wraps all the other exceptions thrown when deploying functions.
*/
public class DeploymentWrapperException extends PolyApiMavenPluginException {
public DeploymentWrapperException(Collection extends Throwable> suppressedExceptions) {
super("Exceptions occurred while deploying functions.");
suppressedExceptions.forEach(this::addSuppressed);
}
}