Class ResourceIOException

    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceIOException​(java.net.URI resourceURI)
      Constructs a new exception for the specified resource URI.
      ResourceIOException​(java.net.URI resourceURI, java.lang.String message)
      Constructs a new exception with the specified resource URI and detail message.
      ResourceIOException​(java.net.URI resourceURI, java.lang.String message, java.lang.Throwable cause)
      Constructs a new exception with the specified resource URI, detail message, and cause.
      ResourceIOException​(java.net.URI resourceURI, java.lang.Throwable cause)
      Constructs a new exception with the specified resource URI and cause, along with a detail message derived from the cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI getResourceURI()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResourceIOException

        public ResourceIOException​(java.net.URI resourceURI)
        Constructs a new exception for the specified resource URI.
        Parameters:
        resourceURI - The URI of the resource to which the exception is related.
        Throws:
        java.lang.NullPointerException - if the given resource URI is null.
      • ResourceIOException

        public ResourceIOException​(java.net.URI resourceURI,
                                   java.lang.String message)
        Constructs a new exception with the specified resource URI and detail message.
        Parameters:
        resourceURI - The URI of the resource to which the exception is related.
        message - The detail message.
        Throws:
        java.lang.NullPointerException - if the given resource URI is null.
      • ResourceIOException

        public ResourceIOException​(java.net.URI resourceURI,
                                   java.lang.Throwable cause)
        Constructs a new exception with the specified resource URI and cause, along with a detail message derived from the cause.
        Parameters:
        resourceURI - The URI of the resource to which the exception is related.
        cause - The cause, or null to indicate the cause is nonexistent or unknown.
        Throws:
        java.lang.NullPointerException - if the given resource URI is null.
      • ResourceIOException

        public ResourceIOException​(java.net.URI resourceURI,
                                   java.lang.String message,
                                   java.lang.Throwable cause)
        Constructs a new exception with the specified resource URI, detail message, and cause.
        Parameters:
        resourceURI - The URI of the resource to which the exception is related.
        message - The detail message.
        cause - The cause, or null to indicate the cause is nonexistent or unknown.
        Throws:
        java.lang.NullPointerException - if the given resource URI is null.
    • Method Detail

      • getResourceURI

        public java.net.URI getResourceURI()
        Returns:
        The URI of the resource to which the exception is related.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable