source: josm/trunk/src/org/openstreetmap/josm/io/OsmApiInitializationException.java@ 12646

Last change on this file since 12646 was 6070, checked in by stoecker, 11 years ago

see #8853 remove tabs, trailing spaces, windows line ends, strange characters

  • Property svn:eol-style set to native
File size: 2.0 KB
RevLine 
[2512]1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io;
3
[5386]4/**
5 * Exception thrown when a communication error occured with the OSM server during API initialization.
6 * @see OsmApi#initialize
7 */
[2512]8public class OsmApiInitializationException extends OsmTransferException {
9
[5386]10 /**
11 * Constructs an {@code OsmApiInitializationException} with the specified detail message.
12 * The cause is not initialized, and may subsequently be initialized by a call to {@link #initCause}.
13 *
14 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method)
15 */
[2512]16 public OsmApiInitializationException(String message) {
17 super(message);
18 }
19
[5386]20 /**
[6070]21 * Constructs an {@code OsmApiInitializationException} with the specified cause and a detail message of
22 * <tt>(cause==null ? null : cause.toString())</tt>
[5386]23 * (which typically contains the class and detail message of <tt>cause</tt>).
24 *
[6070]25 * @param cause the cause (which is saved for later retrieval by the {@link #getCause} method).
[5386]26 * A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.
27 */
[2512]28 public OsmApiInitializationException(Throwable cause) {
29 super(cause);
30 }
[5386]31
32 /**
33 * Constructs an {@code OsmApiInitializationException} with the specified detail message and cause.
34 *
[6070]35 * <p> Note that the detail message associated with {@code cause} is <i>not</i> automatically incorporated
[5386]36 * into this exception's detail message.
37 *
38 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method)
39 * @param cause The cause (which is saved for later retrieval by the {@link #getCause} method).
40 * A null value is permitted, and indicates that the cause is nonexistent or unknown.
41 *
42 */
43 public OsmApiInitializationException(String message, Throwable cause) {
44 super(message, cause);
45 }
[2512]46}
Note: See TracBrowser for help on using the repository browser.