001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.plugins;
003
004/**
005 * Exception thrown during plugin list parsing.
006 * @since 2817
007 */
008public class PluginListParseException extends Exception {
009
010    /**
011     * Constructs a new {@code PluginListParseException} with the specified detail message and cause.
012     * @param message message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
013     * @param cause cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
014     */
015    public PluginListParseException(String message, Throwable cause) {
016        super(message, cause);
017    }
018
019    /**
020     * Constructs a new {@code PluginListParseException} with the specified cause and a detail message of
021     * <tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>).
022     * @param cause cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
023     */
024    public PluginListParseException(Throwable cause) {
025        super(cause);
026    }
027}