Class GradleException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BuildCancelledException, CircularReferenceException, ConfigurationCycleException, org.gradle.internal.exceptions.DefaultMultiCauseException, DuplicateFileCopyingException, GradleScriptException, IllegalDependencyNotation, InvalidActionClosureException, InvalidModelException, InvalidModelRuleDeclarationException, InvalidModelRuleException, InvalidPluginException, InvalidUserCodeException, InvalidUserDataException, ManifestException, ModelInstantiationException, ModelRuleBindingException, PluginInstantiationException, PublishException, ReadOnlyModelViewException, ReportContainer.ImmutableViolationException, ResourceException, StopActionException, TaskInstantiationException, TestExecutionException, UnknownDomainObjectException, UnknownModelException, VariantTransformConfigurationException, VerificationException, WriteOnlyModelViewException

public class GradleException extends RuntimeException

GradleException is the base class of all exceptions thrown by Gradle.

See Also:
  • Constructor Details

    • GradleException

      public GradleException()
    • GradleException

      public GradleException(String message)
    • GradleException

      public GradleException(String message, @Nullable Throwable cause)