package de.gecheckt.pdf.umbenenner.adapter.in.gui;

/**
 * Thrown when a configuration file cannot be written by the GUI file writer.
 * <p>
 * This exception wraps low-level I/O failures so that the GUI layer does not have
 * to handle raw {@link java.io.IOException} instances directly.
 */
public class GuiConfigurationWriteException extends RuntimeException {

    /**
	 * 
	 */
	private static final long serialVersionUID = -6970750036865888915L;

	/**
     * Creates an exception with the given message.
     *
     * @param message the error description; must not be {@code null}
     */
    public GuiConfigurationWriteException(String message) {
        super(message);
    }

    /**
     * Creates an exception with the given message and cause.
     *
     * @param message the error description; must not be {@code null}
     * @param cause   the underlying cause; may be {@code null}
     */
    public GuiConfigurationWriteException(String message, Throwable cause) {
        super(message, cause);
    }
}
