Stay organized with collections
Save and categorize content based on your preferences.
ProviderMismatchException
open class ProviderMismatchException : IllegalArgumentException
Unchecked exception thrown when an attempt is made to invoke a method on an object created by one file system provider with a parameter created by a different file system provider.
Summary
Public constructors |
Constructs an instance of this class.
|
Constructs an instance of this class.
|
Public constructors
ProviderMismatchException
ProviderMismatchException()
Constructs an instance of this class.
ProviderMismatchException
ProviderMismatchException(msg: String!)
Constructs an instance of this class.
Parameters |
msg |
String!: the detail message |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ProviderMismatchException\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nProviderMismatchException\n=========================\n\n```\nopen class ProviderMismatchException : IllegalArgumentException\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.lang.RuntimeException](../../lang/RuntimeException.html#) |||\n| | | | ↳ | [java.lang.IllegalArgumentException](../../lang/IllegalArgumentException.html#) ||\n| | | | | ↳ | [java.nio.file.ProviderMismatchException](#) |\n\nUnchecked exception thrown when an attempt is made to invoke a method on an object created by one file system provider with a parameter created by a different file system provider.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ProviderMismatchException](#ProviderMismatchException())`()` Constructs an instance of this class. |\n| [ProviderMismatchException](#ProviderMismatchException(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an instance of this class. |\n\nPublic constructors\n-------------------\n\n### ProviderMismatchException\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nProviderMismatchException()\n```\n\nConstructs an instance of this class. \n\n### ProviderMismatchException\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nProviderMismatchException(msg: String!)\n```\n\nConstructs an instance of this class.\n\n| Parameters ||\n|-------|-------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message |"]]