Package org.openstreetmap.josm.io
Class OsmApiInitializationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.io.OsmTransferException
-
- org.openstreetmap.josm.io.OsmApiInitializationException
-
- All Implemented Interfaces:
java.io.Serializable
public class OsmApiInitializationException extends OsmTransferException
Exception thrown when a communication error occurred with the OSM server during API initialization.
-
-
Constructor Summary
Constructors Constructor Description OsmApiInitializationException(java.lang.String message)Constructs anOsmApiInitializationExceptionwith the specified detail message.OsmApiInitializationException(java.lang.String message, java.lang.Throwable cause)Constructs anOsmApiInitializationExceptionwith the specified detail message and cause.OsmApiInitializationException(java.lang.Throwable cause)Constructs anOsmApiInitializationExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).
-
Method Summary
-
Methods inherited from class org.openstreetmap.josm.io.OsmTransferException
getUrl, setUrl
-
-
-
-
Constructor Detail
-
OsmApiInitializationException
public OsmApiInitializationException(java.lang.String message)
Constructs anOsmApiInitializationExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
OsmApiInitializationException
public OsmApiInitializationException(java.lang.Throwable cause)
Constructs anOsmApiInitializationExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-
OsmApiInitializationException
public OsmApiInitializationException(java.lang.String message, java.lang.Throwable cause)
Constructs anOsmApiInitializationExceptionwith the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated into this exception's detail message.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)cause- The cause (which is saved for later retrieval by theThrowable.getCause()method). A null value is permitted, and indicates that the cause is nonexistent or unknown.
-
-