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,["# LastOwnerException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nLastOwnerException\n==================\n\n```\nopen class LastOwnerException : Exception\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](../../lang/Exception.html#) ||\n| | | ↳ | [java.security.acl.LastOwnerException](#) |\n\n*** ** * ** ***\n\n| **This exception was deprecated in API level 33.**\n|\n| This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by `java.security.Policy` and related classes since 1.2.\n\nThis is an exception that is thrown whenever an attempt is made to delete the last owner of an Access Control List.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------|---|\n| [LastOwnerException](#LastOwnerException())`()` Constructs a LastOwnerException. |\n\nPublic constructors\n-------------------\n\n### LastOwnerException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nLastOwnerException()\n```\n\nConstructs a LastOwnerException."]]