ReadOnlyModelViewException (Gradle API 2.14)
Date: 2016-06-14

Package: org.gradle.model

## [Java] Class ReadOnlyModelViewException

- org.gradle.model.ReadOnlyModelViewException

- Thrown when an attempt is made to change the value of a model element that is not writable at the time.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ReadOnlyModelViewException (String message)`
    `ReadOnlyModelViewException (org.gradle.model.internal.core.ModelPath path, org.gradle.model.internal.type.ModelType<?> type, org.gradle.model.internal.core.rule.describe.ModelRuleDescriptor ruleDescriptor)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `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)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class RuntimeException` | `printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public ReadOnlyModelViewException(String message)

    - #### 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 Detail

    - #### 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)