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

org.bidib.wizard.mvc.common.exception.NodeSelectionChangeException Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
package org.bidib.wizard.mvc.common.exception;

import org.bidib.wizard.api.model.NodeInterface;

/**
 * Thrown to signal that the requested node was not selected.
 */
public class NodeSelectionChangeException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private final NodeInterface node;

    public NodeSelectionChangeException(String message, final NodeInterface node) {
        super(message);
        this.node = node;
    }

    /**
     * @return the node that was not selected
     */
    public NodeInterface getNode() {
        return node;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy