Package org.gradle.api.resources
Class ResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.GradleException
org.gradle.api.resources.ResourceException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MissingResourceException
Generic resource exception that all other resource-related exceptions inherit from.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionResourceException(String message) ResourceException(String message, Throwable cause) ResourceException(URI location, String message) ResourceException(URI location, String message, Throwable cause) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the location of the resource, if known.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ResourceExceptionpublic ResourceException()
- 
ResourceException
- 
ResourceException
- 
ResourceException
- 
ResourceException
 
- 
- 
Method Details- 
getLocationReturns the location of the resource, if known.- Returns:
- The location, or null if not known.
 
 
-