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:
Serializable
Exception thrown when a communication error occurred with the OSM server during API initialization.
-
Constructor Summary
ConstructorsConstructorDescriptionOsmApiInitializationException(String message) Constructs anOsmApiInitializationExceptionwith the specified detail message.OsmApiInitializationException(String message, Throwable cause) Constructs anOsmApiInitializationExceptionwith the specified detail message and 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, setUrlMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OsmApiInitializationException
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
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
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.
-