Stay organized with collections
Save and categorize content based on your preferences.
PropertyConflictException
open class PropertyConflictException : RuntimeException
Thrown from a map method if a property name is already mapped as different type.
Summary
Public constructors
PropertyConflictException
PropertyConflictException(
name: String,
newPropertyType: String,
existingPropertyType: String)
Parameters |
name |
String: This value cannot be null . |
newPropertyType |
String: This value cannot be null . |
existingPropertyType |
String: This value cannot be null . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# PropertyMapper.PropertyConflictException\n\nAdded in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPropertyConflictException\n=========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/view/inspector/PropertyMapper.PropertyConflictException \"View this page in Java\") \n\n```\nopen class PropertyConflictException : RuntimeException\n```\n\n|---|---|---|---|----------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) ||||\n| | ↳ | [java.lang.Exception](../../../java/lang/Exception.html#) |||\n| | | ↳ | [java.lang.RuntimeException](../../../java/lang/RuntimeException.html#) ||\n| | | | ↳ | [android.view.inspector.PropertyMapper.PropertyConflictException](#) |\n\nThrown from a map method if a property name is already mapped as different type.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [PropertyConflictException](#PropertyConflictException(kotlin.String,%20kotlin.String,%20kotlin.String))`(`name:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `newPropertyType:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `existingPropertyType:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### PropertyConflictException\n\nAdded in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nPropertyConflictException(\n name: String, \n newPropertyType: String, \n existingPropertyType: String)\n```\n\n| Parameters ||\n|------------------------|----------------------------------------------------------------------------------------------------------------|\n| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): This value cannot be `null`. |\n| `newPropertyType` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): This value cannot be `null`. |\n| `existingPropertyType` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): This value cannot be `null`. |"]]