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 */ 009 public ProjectionConfigurationException() { 010 super(); 011 } 012 013 /** 014 * Constructs a new {@code ProjectionConfigurationException}. 015 * @param message the detail message (which is saved for later retrieval 016 * by the {@link #getMessage()} method). 017 * @param cause the cause (which is saved for later retrieval by the 018 * {@link #getCause()} method). (A <tt>null</tt> value is 019 * permitted, and indicates that the cause is nonexistent or unknown.) 020 */ 021 public ProjectionConfigurationException(String message, Throwable cause) { 022 super(message, cause); 023 } 024 025 /** 026 * Constructs a new {@code ProjectionConfigurationException}. 027 * @param message the detail message. The detail message is saved for 028 * later retrieval by the {@link #getMessage()} method. 029 */ 030 public ProjectionConfigurationException(String message) { 031 super(message); 032 } 033 034 /** 035 * Constructs a new {@code ProjectionConfigurationException}. 036 * @param cause the cause (which is saved for later retrieval by the 037 * {@link #getCause()} method). (A <tt>null</tt> value is 038 * permitted, and indicates that the cause is nonexistent or unknown.) 039 */ 040 public ProjectionConfigurationException(Throwable cause) { 041 super(cause); 042 } 043}