Class ResourceException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MissingResourceException

public class ResourceException extends GradleException
Generic resource exception that all other resource-related exceptions inherit from.
See Also:
  • Constructor Details

    • ResourceException

      public ResourceException()
    • ResourceException

      public ResourceException(String message)
    • ResourceException

      public ResourceException(String message, Throwable cause)
    • ResourceException

      public ResourceException(URI location, String message)
    • ResourceException

      public ResourceException(URI location, String message, Throwable cause)
  • Method Details

    • getLocation

      @Nullable public URI getLocation()
      Returns the location of the resource, if known.
      Returns:
      The location, or null if not known.