Class ReadOnlyModelViewException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ModelViewClosedException

@Incubating public class ReadOnlyModelViewException extends GradleException
Thrown when an attempt is made to change the value of a model element that is not writable at the time.
See Also:
  • Constructor Details

    • ReadOnlyModelViewException

      public ReadOnlyModelViewException(String message)
    • ReadOnlyModelViewException

      public ReadOnlyModelViewException(org.gradle.model.internal.core.ModelPath path, org.gradle.model.internal.type.ModelType<?> type, org.gradle.model.internal.core.rule.describe.ModelRuleDescriptor ruleDescriptor)
  • Method Details

    • createMessage

      protected static String createMessage(String viewType, org.gradle.model.internal.core.ModelPath path, org.gradle.model.internal.type.ModelType<?> type, org.gradle.model.internal.core.rule.describe.ModelRuleDescriptor ruleDescriptor)