public class OsmTransferException extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
url |
Constructor and Description |
---|
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). |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUrl()
Gets the URL related to this error.
|
void |
setUrl(java.lang.String url)
Sets the URL related to this error.
|
private java.lang.String url
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.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