Added in API level 26

ProviderMismatchException

public class ProviderMismatchException
extends IllegalArgumentException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.nio.file.ProviderMismatchException


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

ProviderMismatchException()

Constructs an instance of this class.

ProviderMismatchException(String msg)

Constructs an instance of this class.

Inherited methods

Public constructors

ProviderMismatchException

Added in API level 26
public ProviderMismatchException ()

Constructs an instance of this class.

ProviderMismatchException

Added in API level 26
public ProviderMismatchException (String msg)

Constructs an instance of this class.

Parameters
msg String: the detail message