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

com.github.danielflower.mavenplugins.release.ValidationException Maven / Gradle / Ivy

Go to download

A maven release plugin built for multi-maven-module git repositories allowing continuous deployment

There is a newer version: 3.6.4
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy