Package org.eclipse.lemminx.uriresolver
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
Base class for cache resource exception.
- Author:
- Angelo ZERR
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCacheResourceException(String resourceURI, String message) CacheResourceException(String resourceURI, String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns the resource URI which is downloading.booleanisDTD()Returns true if it's a DTD which causes the exception and false otherwise.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CacheResourceException
-
CacheResourceException
-
-
Method Details
-
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.
-