001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.data.projection;
003
004public class ProjectionConfigurationException extends Exception {
005
006    /**
007     * Constructs a new {@code ProjectionConfigurationException}.
008     * @param  message the detail message (which is saved for later retrieval
009     *         by the {@link #getMessage()} method).
010     * @param  cause the cause (which is saved for later retrieval by the
011     *         {@link #getCause()} method).  (A <tt>null</tt> value is
012     *         permitted, and indicates that the cause is nonexistent or unknown.)
013     */
014    public ProjectionConfigurationException(String message, Throwable cause) {
015        super(message, cause);
016    }
017
018    /**
019     * Constructs a new {@code ProjectionConfigurationException}.
020     * @param   message   the detail message. The detail message is saved for
021     *          later retrieval by the {@link #getMessage()} method.
022     */
023    public ProjectionConfigurationException(String message) {
024        super(message);
025    }
026
027    /**
028     * Constructs a new {@code ProjectionConfigurationException}.
029     * @param  cause the cause (which is saved for later retrieval by the
030     *         {@link #getCause()} method).  (A <tt>null</tt> value is
031     *         permitted, and indicates that the cause is nonexistent or unknown.)
032     */
033    public ProjectionConfigurationException(Throwable cause) {
034        super(cause);
035    }
036}