|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.openstreetmap.josm.io.OsmTransferException
public class OsmTransferException
Exception thrown when a communication error with the OSM server occurs.
Field Summary | |
---|---|
private java.lang.String |
url
|
Constructor Summary | |
---|---|
OsmTransferException()
Constructs an OsmTransferException with null as its error detail message. |
|
OsmTransferException(java.lang.String message)
Constructs an OsmTransferException with the specified detail message. |
|
OsmTransferException(java.lang.String message,
java.lang.Throwable cause)
Constructs an OsmTransferException with the specified detail message and cause. |
|
OsmTransferException(java.lang.Throwable cause)
Constructs an OsmTransferException with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause). |
Method Summary | |
---|---|
java.lang.String |
getUrl()
Gets the URL related to this error. |
void |
setUrl(java.lang.String url)
Sets the URL related to this error. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String url
Constructor Detail |
---|
public OsmTransferException()
OsmTransferException
with null
as its error detail message.
The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)
.
public OsmTransferException(java.lang.String message)
OsmTransferException
with the specified detail message.
The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)
.
message
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method)public OsmTransferException(java.lang.Throwable cause)
OsmTransferException
with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause).
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method).
A null value is permitted, and indicates that the cause is nonexistent or unknown.public OsmTransferException(java.lang.String message, java.lang.Throwable cause)
OsmTransferException
with the specified detail message and cause.
Note that the detail message associated with cause
is not automatically incorporated
into this exception's detail message.
message
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method)cause
- The cause (which is saved for later retrieval by the Throwable.getCause()
method).
A null value is permitted, and indicates that the cause is nonexistent or unknown.Method Detail |
---|
public void setUrl(java.lang.String url)
url
- the URL related to this error (which is saved for later retrieval by the getUrl()
method).public java.lang.String getUrl()
setUrl(java.lang.String)
method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |