Class OsmTransferException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String url  
    • Constructor Summary

      Constructors 
      Constructor 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).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • url

        private java.lang.String url
    • Constructor Detail

      • OsmTransferException

        public OsmTransferException()
        Constructs an 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).
      • OsmTransferException

        public OsmTransferException​(java.lang.String message)
        Constructs an 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).
        Parameters:
        message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)
      • OsmTransferException

        public 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).
        Parameters:
        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.
      • OsmTransferException

        public OsmTransferException​(java.lang.String message,
                                    java.lang.Throwable cause)
        Constructs an 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.

        Parameters:
        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

      • setUrl

        public void setUrl​(java.lang.String url)
        Sets the URL related to this error.
        Parameters:
        url - the URL related to this error (which is saved for later retrieval by the getUrl() method).
      • getUrl

        public java.lang.String getUrl()
        Gets the URL related to this error.
        Returns:
        API base URL or URL set using the setUrl(java.lang.String) method