api / org.gradle.api.resources / ResourceException

ResourceException

open class ResourceException : GradleException

Generic resource exception that all other resource-related exceptions inherit from.

Constructors

<init>

ResourceException()
ResourceException(message: String)
ResourceException(message: String, cause: Throwable)
ResourceException(location: URI, message: String)
ResourceException(location: URI, message: String, cause: Throwable)

Functions

getLocation

open fun getLocation(): URI

Returns the location of the resource, if known.

Inheritors

MissingResourceException

open class MissingResourceException : ResourceException

Exception thrown when the resource does not exist