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

com.github.sviperll.maven.profiledep.resolution.ResolutionValidationException Maven / Gradle / Ivy

The newest version!
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.github.sviperll.maven.profiledep.resolution;

import com.github.sviperll.maven.profiledep.util.Tree;

/**
 *
 * @author vir
 */
@SuppressWarnings("serial")
public class ResolutionValidationException extends Exception {

    private final Tree tree;

    ResolutionValidationException(Tree tree) {
        super("Resolution error");
        this.tree = tree;
    }

    Tree tree() {
        return tree;
    }

    public String renderResolutionTree() {
        return new ResolutionTree(tree).toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy