Ignore:
Timestamp:
2012-07-31T21:48:49+02:00 (12 years ago)
Author:
Don-vip
Message:

see #7914 - Introduce OsmApi.MAX_DOWNLOAD_THREADS and improve javadoc in some classes of josm.io package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmApiInitializationException.java

    r3083 r5386  
    22package org.openstreetmap.josm.io;
    33
     4/**
     5 * Exception thrown when a communication error occured with the OSM server during API initialization.
     6 * @see OsmApi#initialize
     7 */
    48public class OsmApiInitializationException extends OsmTransferException {
    59
    6     public OsmApiInitializationException() {
    7         super();
    8     }
    9 
    10     public OsmApiInitializationException(String message, Throwable cause) {
    11         super(message, cause);
    12     }
    13 
     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     */
    1416    public OsmApiInitializationException(String message) {
    1517        super(message);
    1618    }
    1719
     20    /**
     21     * Constructs an {@code OsmApiInitializationException} with the specified cause and a detail message of
     22     * <tt>(cause==null ? null : cause.toString())</tt>
     23     * (which typically contains the class and detail message of <tt>cause</tt>).
     24     *
     25     * @param cause the cause (which is saved for later retrieval by the {@link #getCause} method).
     26     *              A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.
     27     */
    1828    public OsmApiInitializationException(Throwable cause) {
    1929        super(cause);
    2030    }
     31
     32    /**
     33     * Constructs an {@code OsmApiInitializationException} with the specified detail message and cause.
     34     *
     35     * <p> Note that the detail message associated with {@code cause} is <i>not</i> automatically incorporated
     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    }
    2146}
Note: See TracChangeset for help on using the changeset viewer.