
de.carne.jfx.util.validation.ValidationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-jfx Show documentation
Show all versions of java-jfx Show documentation
Common JavaFX code shared between my projects
The newest version!
/*
* Copyright (c) 2016-2020 Holger de Carne and contributors, All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU 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 Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package de.carne.jfx.util.validation;
/**
* This exception indicates a failed data validation.
*/
public class ValidationException extends Exception {
/**
* Serialization support.
*/
private static final long serialVersionUID = -5359668312893685005L;
/**
* Construct {@code ValidationException}.
*
* @param message The validation message.
*/
public ValidationException(String message) {
super(message);
}
/**
* Construct {@code ValidationException}.
*
* @param message The validation message.
* @param cause The causing exception.
*/
public ValidationException(String message, Throwable cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy