com.github.danielflower.mavenplugins.release.ValidationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multi-module-maven-release-plugin Show documentation
Show all versions of multi-module-maven-release-plugin Show documentation
A maven release plugin built for multi-maven-module git repositories allowing continuous deployment
package com.github.danielflower.mavenplugins.release;
import java.util.Arrays;
import java.util.List;
public class ValidationException extends Exception {
private final List messages;
public ValidationException(String summary, List messages) {
super(summary);
this.messages = messages;
}
public ValidationException(String summary, Throwable error) {
super(summary);
this.messages = Arrays.asList(summary, "" + error);
}
public List getMessages() {
return messages;
}
}