source: josm/trunk/src/org/openstreetmap/josm/data/projection/ProjectionConfigurationException.java@ 13597

Last change on this file since 13597 was 13493, checked in by Don-vip, 6 years ago

see #11924, see #15560, see #16048 - tt HTML tag is deprecated in HTML5: use code instead

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.projection;
3
4/**
5 * Exception thrown when a projection cannot be constructed due to invalid input
6 * parameters.
7 *
8 * Used mainly in {@link CustomProjection}, where a parameter string is parsed
9 * and converted to a projection.
10 */
11public class ProjectionConfigurationException extends Exception {
12
13 /**
14 * Constructs a new {@code ProjectionConfigurationException}.
15 * @param message the detail message (which is saved for later retrieval
16 * by the {@link #getMessage()} method).
17 * @param cause the cause (which is saved for later retrieval by the
18 * {@link #getCause()} method). (A <code>null</code> value is
19 * permitted, and indicates that the cause is nonexistent or unknown.)
20 */
21 public ProjectionConfigurationException(String message, Throwable cause) {
22 super(message, cause);
23 }
24
25 /**
26 * Constructs a new {@code ProjectionConfigurationException}.
27 * @param message the detail message. The detail message is saved for
28 * later retrieval by the {@link #getMessage()} method.
29 */
30 public ProjectionConfigurationException(String message) {
31 super(message);
32 }
33
34 /**
35 * Constructs a new {@code ProjectionConfigurationException}.
36 * @param cause the cause (which is saved for later retrieval by the
37 * {@link #getCause()} method). (A <code>null</code> value is
38 * permitted, and indicates that the cause is nonexistent or unknown.)
39 */
40 public ProjectionConfigurationException(Throwable cause) {
41 super(cause);
42 }
43}
Note: See TracBrowser for help on using the repository browser.