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

org.nuiton.jaxx.runtime.swing.model.WillChangeSelectedItemVetoException Maven / Gradle / Ivy

There is a newer version: 3.1.5
Show newest version
package org.nuiton.jaxx.runtime.swing.model;

/*
 * #%L
 * JAXX :: Runtime
 * %%
 * Copyright (C) 2008 - 2023 Code Lutin, Ultreia.io
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 *
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */

/**
 * Created on 8/7/14.
 *
 * @author Tony Chemit - [email protected]
 * @since 2.10
 */
public class WillChangeSelectedItemVetoException extends Exception {

    private static final long serialVersionUID = 1L;

    /** The event that the exception was created for. */
    protected final ComboBoxSelectionEvent event;

    /**
     * Constructs an ExpandVetoException object with no message.
     *
     * @param event a ComboBoxSelectionEvent object
     */

    public WillChangeSelectedItemVetoException(ComboBoxSelectionEvent event) {
        this(event, null);
    }

    /**
     * Constructs an ExpandVetoException object with the specified message.
     *
     * @param event   a ComboBoxSelectionEvent object
     * @param message a String containing the message
     */
    public WillChangeSelectedItemVetoException(ComboBoxSelectionEvent event, String message) {
        super(message);
        this.event = event;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy