Class CacheResourceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.lemminx.uriresolver.CacheResourceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CacheResourceDownloadedException, CacheResourceDownloadingException, InvalidURIException

public abstract class CacheResourceException extends RuntimeException
Base class for cache resource exception.
Author:
Angelo ZERR
See Also:
  • Constructor Details

    • CacheResourceException

      public CacheResourceException(String resourceURI, String message)
    • CacheResourceException

      public CacheResourceException(String resourceURI, String message, Throwable cause)
  • Method Details

    • getResourceURI

      public String getResourceURI()
      Returns the resource URI which is downloading.
      Returns:
      the resource URI which is downloading.
    • isDTD

      public boolean isDTD()
      Returns true if it's a DTD which causes the exception and false otherwise.
      Returns:
      true if it's a DTD which causes the exception and false otherwise.