InvalidInputException.java

package fr.metabocloud.core.exception;

import java.io.Serial;

/**
 * Exception thrown when the input sent is invalid.
 *
 * @author Faustine Souc
 * @since 1.0.0
 */
public class InvalidInputException extends RuntimeException {

	/**
	 * Default serial version UID for serialization.
	 */
	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * Constructs a new {@code InvalidInputException} with the specified detail
	 * message.
	 *
	 * @param errorMessage The detail message that explains the reason for the
	 *                     exception.
	 */
	public InvalidInputException(final String errorMessage) {
		super(errorMessage);
	}
}